For example, if you are presented with JDK 8u101 and 8u102, choose 8u102.

The file name for the Java Software Development Kit installer is “dk-13. 0. 2_windows-x64_bin. exe” or “jdk-13. 0. 2_windows-x64_bin. zip”. If you download the ZIP file, you will need to extract the contents of the zip file.

Click the Windows Start menu and type Control Panel. Click the Control Panel. Click System and Security. Click System. Click Advanced System Settings in the panel to the left.

Click New Type c:\Program Files\Java\jdk1. 8. 0_xx\bin (but replace the “8. 0_xx” part with the version number you installed). Click the Move Up button until the path you typed appears at the top of the list. Click OK.

Type C:\Program Files\Java\jdk1. 8. 0_xx\bin (but replace the “8. 0_xx” with the correct version number) in FRONT of the other directories. Add a semicolon (;) to the very end of what you just typed, just like this: C:\Program Files\Java\jdk1. 8. 0_xx\bin; There should be no space before or after the semicolon, so the entire line should look something like this: C:\Program Files\Java\jdk1. 8. 0_2\bin;C:\Program Files\Intel\xxx Click OK. Click OK until you’ve closed all open windows.

Right-click the windows start menu and type cmd. Click the Command Prompt icon.

If either part of this command-prompt test does not produce results, you may need to load the new environment variables by rebooting the computer.

If you see a window that says “Destination Select” after clicking continue, click “Install for all users of this computer. ” Not all users will see this window. Then click Continue. [9] X Research source

Once you’ve made sure the installation is successful, you can delete the DMG installer file you downloaded to conserve hard drive space.

This method assumes you know how to use basic Unix shell commands. If you downloaded a . rpm package file instead of a tarball, see Installing the JDK from a Package on Linux.

Linux: tar zxvf jdk-7u-linux-i586. tar. gz Solaris (SPARC): gzip -dc jdk-8uversion-solaris-sparcv9. tar. gz | tar xf - Solaris (x64/EM64T): gzip -dc jdk-8uversion-solaris-x64. tar. gz | tar xf -

The file you downloaded should end with “. rpm” This method assumes you know how to use basic Unix shell commands.

rpm -ivh jdk-7u-linux-x64. rpm (replace “jdk-7u-linux-x64. rpm” with the actual package name)