A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 15, 2004
May 15, 2008 22:46:00
I am running a class from command prompt like this
-classpath "C:\Tomcat 5.0\webapps\smart_banking\WEB-INF\lib\ctbondemandrequest_impl.jar;C:\Tomcat 5.0\webapps\smart_banking\WEB-INF\lib\rtf.jar;" com.initprocess.InitProcessMethod -docbase_name rtt_banking -user_name dmadmin -ticket h123
but the problem is that with this command the existing classpath gets lost and only the classpath in this command is considered. How can I make sure that existing classpath is not lost.
Joined: Sep 06, 2003
May 15, 2008 23:59:00
Can you please try appending the existing CLASSPATH variable as below.
java -classpath "%CLASSPATH%;d:\jars\a.jar;" com.abc.mail.Emailer
I agree. Here's the link:
Help me in tree structure ???????????????????????
server not found
Error on deploying the web service
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014