how to setup java environment variables on Window 7 or window 8 or window xp
You should follow the below steps : Step 1: Installation of JDK: Don't forget to install JDK on your system (if not installed) because any tomcat requires the Java 1.5 (Java 5) and Java 1.6 (Java 6) and then set the class path (environment variable) of JDK. Step 2: Setting the class path variable for JDK: Two methods are there to set the classpath. Set the class path using the following command. set PATH="C:\Program Files\Java\jdk1.5.0_08\bin";%PATH% The other way of setting the class path variable is: First right click on the My Computer->properties->advance->Environment Variables->path. Set bin directory path of JDK in the path variable. Other operating System : Windows XP Select Start , select Control Panel . double click System , and select the Advanced tab. Click Environment Variables . In the section System Variables , find the PATH environment variable and select it. Click Edit . If the PATH environment varia...
Comments
Post a Comment