Hi,
I have a Jar file with some class files - file1.jar . These class files need 2 more jar files(file_a.jar and file_b.jar)in the classpath to run correctly.
I want to bundle the dependent jar files inside the main jar file.
Is there any way to make the dependent jar files a part of the classpath without un jarring them.
|-- class files
file1.jar----------|
|-- file_a.jar, file_2.jar
i am looking at someting line
java -cp file_a.jar;file_b.jar -jar file1.jar
The only other option i am seeing is to un jarr this file and put file_a.jar and file_b.jar in the system classpath
Regards
Badari
SCJP, SCJD, SCBCD, SCEA, IBM 665