tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <>
Subject RE: running jar files
Date Tue, 22 Jan 2002 16:36:11 GMT
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
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, 


-----Original Message-----
From: Cressatti, Dominique []
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
all I ever get is "java.lang.NoClassDefFoundError...

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message