| 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: 3829
|
|
You can add these paths to environment variable.
On Windows:
My Computer > Properties > Advanced > Environment Variable
|
 |
 |
|
|
subject: problem with class path
|
|
|