Tomcat-Java Path Setting

Step 1: Right click on computer – > properties – > Advanced system settings – > Advanced – > Environment Variables – > User variables.

Step 2: 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…!!

 3,254 total views,  5 views today

One comment

  • 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.