Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi guys,
I try to use .jar files within my jlink application.
What I did is to add those to the java_app_classpath within the protk.dat file.
eg.
java_app_classpath ./apps/Library.jar; ./apps/classes
java_app_classpath ./apps/Library.jar ./apps/classes
but neither did work, as soon as I'm calling a class within the .jar a ClassNotFoundException is thrown.
Would be really glad if anybody knows how to handle this.
Regards
Hi,
thanks, that's good if you have multiple auxiliary applications using the same libraries.
in the meantime I figured a rather strange looking syntax for the protk.dat by dividing two libs with a ".;"
java_app_classpath /apps/lib1.jar.;./apps/lib2.jar
Thanks again,
Regards
Hello Paul
Add the additional jar files at the end or your java_app_classpath using semi colons in your protk.dat file as shown below.
java_app_classpath C:\project\jar\appJar.jar;C:\foldername\lib.jar;C:\folderName\lib2.jar
Hi guys,
I try to use .jar files within my jlink application.
What I did is to add those to the java_app_classpath within the protk.dat file.
eg.
java_app_classpath ./apps/Library.jar; ./apps/classes
java_app_classpath ./apps/Library.jar ./apps/classes
but neither did work, as soon as I'm calling a class within the .jar a ClassNotFoundException is thrown.
Would be really glad if anybody knows how to handle this.
Regards