Specify dependent jars in manifest? I want my users to use java -jar to launch my code but i have some external jars that are needed. Where can i specify them?

Davanum Srinivas

You can use the "Class-Path" entry in the Manifest. If you do this you won't have to specify the jars on the CLASSPATH environment variable. More information can be found at: