To execute a Jar file I would do c:\> java -jar jarfile.jar if I was trying to execute a specific class in a jar file I would do : c:\> java -cp jarfile1.jar;jarfile2.jar; com.lansa.web.admin.WebAdmin
If that doesn´t work I would check if this class really exists in the jarfiles I have, and if I have the correct path. Anyways it seems that you are executing the correct class, but it does not get to another class that should be in the jarfiles that you have in your classpath. So, I would check if I had this class com.lansa.web.servlet in my jarfiles (the ones in my classpath). maybe it isn´t there, then you should head back to the download page or something. I dont know this product and I´ve never used it. It seems like you´re haveing problems with basic java stuff, really just pretty much off topic for this list. hope it helps, regards, [EMAIL PROTECTED] -----Original Message----- From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] Sent: 22. janúar 2002 16:25 To: Tomcat Users List Subject: running jar files I have some jar files, swingall.jar and lansa.jar How do I do the equivalent of: java -cp ./:./lansa.jar:./swingall.jar com.lansa.web.admin.WebAbmin which basically run manually the WebAdmin applet. I know it's an applet but there is a servlet equivalent. Sorry if this is too much of a basic question but after 3 days of trying just about every combination under the sun, am still getting nowhere, all I ever get is "java.lang.NoClassDefFoundError... com/lansa/web/servlet" Dom -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>