Download & Install JAVA JDK in Windows
Part- 1. Step 1). Go to below Link. Click on Download JDK. For Java latest version.
https://www.oracle.com/technetwork/java/javase/downloads/index.html
Step 2). Next.
1. Accept Licence Agreement.
2. Download latest Java JDK for your version (32 or 64 bit) of java for windows
Step 3). Once download complete, run the exe for install JDK. Click Next.
Step 4). Once installation is complete click close.
Part-2
How to Set Environment Variables in JAVA.
Step 1). Right click on the My Computer and Select Properties
Step 2). Click on advanced system settings
Step 3). Click on Environment Variables
For Windows 10 Search for “Edit the System Environment Variables” and Select you
can see the above screen
Step 4). Click on new Button of User variables
Step 5). Type JAVA_HOME 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 and click on OK Button.
Step 8). Click on OK button.
Step 9). Go to Command Prompt and type javac commands.
If you see a Screen like below, Java installed and Setup Successfully.