filmov
tv
How to Set PATH and CLASSPATH for Java in Windows

Показать описание
This video demonstrates how to set path and classpath for Java in Windows 7. Setting the path and classpath for JDK is important for Java programs to compile and execute. This video tutorial describes in detail to know how to set these two variables. JDK stands for Java SE Development Kit.
Steps:
1. Go to advanced system settings -- Environment variables
2. Check if PATH/CLASSPATH variable existing under system variables.
3. If existing, edit the variable by adding the location path of JDK - bin folder in the end of the variable value by seperating it with ';' - semi colon . and then click OK.
4. If not present, create a new variable, add the name - PATH/CLASSPATH, and add the location of JDK bin folder to the variable value. And then click OK.
5. Click on OK and then successfully set the PATH/CLASSPATH for Java
Steps:
1. Go to advanced system settings -- Environment variables
2. Check if PATH/CLASSPATH variable existing under system variables.
3. If existing, edit the variable by adding the location path of JDK - bin folder in the end of the variable value by seperating it with ';' - semi colon . and then click OK.
4. If not present, create a new variable, add the name - PATH/CLASSPATH, and add the location of JDK bin folder to the variable value. And then click OK.
5. Click on OK and then successfully set the PATH/CLASSPATH for Java