Author Topic: Set Classpath in Apache Tomcat Permanently  (Read 5368 times)

bbasujon

  • Administrator
  • VIP Member
  • *****
  • Posts: 1826
  • I want to show my performance at any where
    • View Profile
    • Higher Education
Set Classpath in Apache Tomcat Permanently
« on: January 28, 2012, 08:52:04 AM »
Set JAVA_HOME Classpath for Apache Tomcat

    Open System Properties (Window Key + Break or Right Click on My Computer -> Properties).

In System Variables , select Add and enter JAVA_HOME as Variable name and the path of your JDK Folder (not the bin, the outer folder, eg. C:Program FilesJavajdk1.6.0_18 ) in Variable value and select OK.
In System Variables , double click on the value called “PATH” (If PATH doesn’t exist,create one) and in the end of variable value, add “;JAVA_HOME” and select Ok

    (The semicolon is to separate the other entries from JAVA_HOME.
    Click on Ok and Restart your computer. Untitled Set Classpath in Apache Tomcat Permanently

By following the above methods, you can run Apache Tomcat without setting the classpath each time. There can be many alternate methods to do this, but this one is comparatively easier than others.
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection