Re: Prob with executable jar
Friday, July 28, 2006 07:18 PM
Yep... carefully reading the description of the "java" command will enlighten you that running "-jar" option means that the classpath environment variable (and/or -classpath argument) are ignored. I believe you can specify a classpath as an entry in the manifest file... you may need to look into doing this. That is, read up on the things you can specify in the manifest file besides just the "Main-Class" that you no doubt are already specifying.