Re: How to run a .jar created by ant

2003-10-14 Thread Claudio Corsi
There are some things here that you need to keep in mind. Java will not be able to find a jar file that is included within a jar file. In your case, you should not include the xerces.jar and socket.jar file in your MSX.jar file. When using the -jar option and your Manifest includes a Class-Path

RE: How to run a .jar created by ant

2003-10-13 Thread Harkness, David
romalopes once said: > Using the ant I can cread the MSX.jar, but when I run this jar the > follow error appears: Exception in Thread "main" > java.lang.NoclassDefFoundError: msx/MSX > > Another problem is how to use the classpath correctly. > > >