3 ms·
Most Java applications are not built to work that way. They usually need the full CLASSPATH formed before they can launch. One .jar would not suffice.
by guard-of-terra 14y ago
Most Java applications are not built to work that way. They usually need the full CLASSPATH formed before they can launch. One .jar would not suffice.
- rquirk 14y agoThe developer of a jar can specify a Class-Path entry in the Manifest file to set up the classpath correctly. In this case, "java -jar some.jar" is all you need. https://blogs.oracle.com/olaf/entry/jdev_including_a_classpath_in https://blogs.oracle.com/olaf/entry/jdev_including_a_classpa...