Hi all,
 
I want to run an application which packaged in a jar named A.jar (Main-Class entry Manifest included).
This executable A.jar need to use two library JARs (B.jar and C.jar).
 
In windows 2000, is this the correct command to run A.jar?
 
java -jar -cp "B.jar;C.jar" A.jar
 
 
I got a NoClassDefFoundError using command above, which specify the class in B.jar.
 
Do I need to include the Class-Path entry in the manifest? If yes, what is the -cp option used for in this case?
 
Hope can help.
 
Thanks.
 
 
 
Steven Yong
 
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to