This tutorial will step you through getting the Java Development Kit (JDK) installed on your computer, which you will need to compile Java programs. This is different from the Java Runtime Environment (JRE) which is used to run Java programs. The JRE will also be installed as part of this process.
Check if it’s installed
First you should check if you already have it installed on the computer you are working on.
Open the Windows “Control Panel” and click “Programs and Features”.
Look for both of these items. If they are present, you already have JDK and JRE.
Check processor type
You need to know your processor’s architecture in order to continue.
Go back to the “Control Panel” and click “System”.
Under the “System type” field, see if you’re using a 64-bit or 32-bit processor.
Downloading the installer
* Link to download page *
Make sure to select the correct download based on your processor’s architecture.
Running the installer
Take note of the location of the JDK installation. You will need it later.
Take note of the location of the JRE installation. You will need it later.
That’s it! You’re done.