Hi All
Since I have moved to jdeveloper from Netbeans I am having trouble creating executable JAR's, as in java -jar myapp.jar
When deploying to a JAR in Netbeans it creates a MANIFEST.MF which includes something like the following
Class-Path: lib/eclipselink.jar lib/javax.persistence_2.1.0.v201304241
213.jar
it also creates a lib directory which contains the JAR's
Now I am using jDeveloper. When I run the JAR inside jDeveloper it works fine and the command line it uses includes the absolute location of every JAR for the classpath.
If I copy and paste the line into a shell it also works, but this is no good as it is not transferable to other systems as absolute classpaths are not the same...
So what I would like is for jDeveloper to deploy a JAR with an external directory for libs if needed and a MANIFEST.MF that contains the JAR's classpath used in the project
Many thanks
Stuart