Steps to Install JDK on a Computer
- 1). Browse to the Java SE Downloads page at Oracle.com to download the JDK installation file. Click the radio button next to "Accept License Agreement" to gain access to the files. Click the file name next to "Windows x64" to download the file.
- 2). Double-click on the downloaded file to launch the installer. Click "Yes" to give the program permission to install itself on your computer if this prompt appears.
- 3). Click "Next" to move past the introductory screen, then click "Next" again to continue, unless you want to change the installation directory. In that case, click "Change" and specify a directory. To navigate through the Oracle explorer window, use the folder button to go up a level and double-click on a folder to open it. Once you have selected your desired folder, click "OK" and then "Next."
- 4). Click "Finish" once the progress bar cycles to completion. The JDK is now installed on your computer.
Source...