tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
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
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, 
reynir@hugsmidjan.is



 


-----Original Message-----
From: Cressatti, Dominique [mailto:Dominique.Cressatti@lansa.co.uk]
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message