How to Set Tomcat & Java Path in Windows ?
Step 1: Right click on computer – > properties – > Advanced system settings – > Advanced – > Environment Variables – > User variables.
Step 2: Adding the new environment variable values
Create New and type as follows,
variable: JAVA_HOME
value : C:\Program Files\Java\jdk1.6.0
variable: JRE_HOME
value : C:\Program Files\Java\jre1.6.0
variable: PATH
value : C:\Program Files\Java\jre1.6.0;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\Java\jre1.6.0\bin;C:\apache-tomcat-6.0.14\bin;
variable: CLASSPATH
value : c:\Program Files\Java\jdk1.6.0\jre\lib
Step 3: If tomcat server doesnot start then remove the end semicolon in JRE_HOME and JAVA_HOME.
Now start the server it will start successfully.
Revert me if you have any problems.
Thanks for reading this post…!!
Nice post. I was checking constantly this weblog and I am inspired! Extremely helpful information particularly the ultimate section 🙂 I maintain such information a lot. I was seeking this certain information for a long time. Thank you and good luck.