Download and install the Java Development Kit
- Download and install the latest Java Development Kit from: https://www.oracle.com/technetwork/java/javase/downloads/index.html
- At the time of this writing, I downloaded and installed jdk-13.0.1_windows-x64_bin.exe
- And accepted all defaults during the installation
- A reboot was not required
Add the Java bin location to the Windows path
- Control Panel
- System and Security
- System
- Advanced System Settings
- Advanced Tab
- Environment Variables
- System Variables
- Find and select Path
- Edit
- New
- Copy and paste the the Java bin path, i.e.: C:\Program Files\Java\jdk-13.0.1\bin
- OK
Create a new System Variable
- New
- Variable name: JAVA_HOME
- Variable value: C:\Program Files\Java\jdk-13.0.1
- OK
- Sign-out/Sign-in

Verify Java is installed successfully and accessible
- Launch a CMD prompt or PowerShell prompt
- javac -version
- java –version

Potential Gotchas
Problem | Solution |
javac -version returns an error | Find and remove previous version(s) of Java |
java –version returns an error | Find and remove previous version(s) of Java |