aspose file tools*
The moose likes Tomcat and the fly likes problem with class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with class path" Watch "problem with class path" New topic
Author

problem with class path

tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
after starting my computer the very first java problem does not compile and gives the error
"javac is not a recognised command" .

after i set the paths (according to my system) :

set PATH="D:\Program Files\Java\jdk1.6.0_14\bin";%PATH%
set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_14
set CLASSPATH=.;C:\apache-tomcat-6.0.20\lib\servlet-api.jar;C:\apache-tomcat-6.0.20\lib\jsp-api.jar;C:\apache-tomcat-6.0.20\lib\el-api.jar;

i can run any program till i restart it again . i am feeling horrible , because each time i start my system this thing happens .
please i need a solution to this .

--TUSHAR

Do Right , Fear No Man
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
You can add these paths to environment variable.

On Windows:
My Computer > Properties > Advanced > Environment Variable
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with class path
 
Similar Threads
Configuration problem
Tomcat 6.0.20 not starting with Eclipse 3.3.1.1
Unable to import
Problem running Struts Application
Tomcat