Hi all, jpackage* does not have an option to specify the classpath anymore while javapackager** has this feature. jpackage just collects all the .jar files from --input directory and puts them on classpath***.
I would like to add some extra .jar files to my application/package but I do not want them on classpath - with jpackage this seems to be impossible. Have I overlook something? Would it be possible to improve jpackage with this? Many thanks, András * https://bugs.openjdk.java.net/browse/JDK-8200758 ** https://docs.oracle.com/javase/10/tools/javapackager.htm#JSWOR719 under "General Bundler Arguments" *** https://hg.openjdk.java.net/jdk/sandbox/file/225a4ac5bd57/src/jdk.jpackage/share/classes/jdk/jpackage/internal/DeployParams.java#l270