How to Download & Install Java 64 bit
Step 1) Go to link. Click on Download JDK. For java latest version.
Step 2) Next,
1. Accept License Agreement
2. Download latest Java JDK for your version(64 bit) of java for Windows.
Step 3) Once the download is complete, run the exe for install JDK. Click Next
Step 4) Once installation is complete click Close
How to set Environment Variables in Java: Path and Classpath
The CLASSPATH variable gives location of the Library Files.
Let’s look into the steps to set the PATH and CLASSPATH
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.
Note: In case you already have a PATH variable created in your PC, edit the PATH variable to
PATH = \bin;%PATH%;
Here, %PATH% appends the existing path variable to our new value
Step 8) You can follow a similar process to set CLASSPATH.
Note: In case you java installation does not work after installation, change classpath to
CLASSPATH = \lib\tools.jar;
Step 9) Click on OK button
Step 10) Go to command prompt and type java -version command.
If you see a screen like below, Java is installed.