Installing and Configuration
Installing Java
Step 1 :
- Download Java Development Kit from java.sun.com website.
- Choose the right version of Java JDK 8 at the time of downloading.
Step 2 :
Once the Java JDK 8 download is complete, run the exe for install JDK. Click Next
Step 3 :
Select the PATH to install Java in Windows… You can leave it Default. Click next.
Step 4 :
Once you install Java in windows, click Close
Configurating Java
Step 1 :
Right Click on the My Computer and Select the properties
Step 2 :
Click on advanced system settings
Step 3 :
Click on Environment Variables
Step 4 :
Click on new Button of User variables
Step 5 :
Type PATH in the Variable name.
Step 6 :
Copy the path of bin folder which is installed in JDK folder.
Step 7 :
Paste Path of bin folder in Variable value. Click on OK Button.
Step 8 :
You can follow a similar process to set CLASSPATH.
Step 9 :
Click on OK button.
Step 10 :
Go to command prompt and type javac commands. If you see a screen like below, Java is installed.