Run the .exe installer you downloaded and follow the prompts. Note the installation path (usually C:\Program Files\Java\jdk-xx ). Step 2: Set JAVA_HOME Open > System > Advanced System Settings . Click Environment Variables . Under System Variables , click New . Variable Name: JAVA_HOME Variable Value: [Path to your JDK folder] Step 3: Update the Path
Files are checked for security before being hosted. Understanding the JDK vs. JRE
If you see version numbers instead of an error message, you are ready to start building Java applications! Final Thoughts