This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
hi , I wanted to know that is their any option without using any other software so that I can put more than one jar file in a file and make that file as jar and if I set classpath till this jar file than all jar files inside this jar file should work normally as if path is set for individual jar file.
thanks in advance
posted 8 years ago
No, jar files inside of other jar files are not part of the classpath.
You can keep several jar files in the same directory, and refer to them from the manifest of the main jar file, though. That way you have only a single jar file to put into your classpath. See this for details, especially the section title "Adding Classes to the JAR File's Classpath".