Under Java Platform, Standard Edition, select either the current release, or click Previous Releases to install an earlier supported version. You can use either the JDK or JRE. The JDK includes the JRE. Do not use any non-supported version or edition of the Java JRE or JDK.
Follow the navigation aids to download the JRE or JDK that is appropriate for your operating system.
Follow the installation instructions that are provided with the JRE.
Save the path to the JRE executable file. You will need it later.