The classpath variable (either environment or in the manifest) is used to find jar files in the local directories. The JVM doesn't search for jar files inside other jar files.
ohh I see.. Then is there any way to group all the jars and the class together to make it a single executable jar or something else? Thank you soooooo much for your help
[ November 26, 2008: Message edited by: Ellen fish ] [ November 26, 2008: Message edited by: Ellen fish ]
Originally posted by Ellen fish: Then is there any way to group all the jars and the class together to make it a single executable jar or something else?
Search for 'java jar rejar' on Google. I personally think distributing your application jar in a directory with a simple 'lib' subdirectory (containing the linked jar files) is easier and neater, but it can be done.