Installing JDK 14 and NetBeans 12

To write Java software you will need two sets of software tools: the Java Development Kit, or JDK, and a Java development environment. In this course we will be using NetBeans as our Java development environment.

The official versions of Java and NetBeans we will be using for this course are Java 14 and NetBeans 12.

To obtain a JDK, you should go to jdk.java.net/14/ to download the archive containing the appropriate version of OpenJDK version 14 for your platorm.

On Windows you should extract the contents of this archive and move the folder containing the JDK files to the C:\Program Files\Java directory.

On a Mac you should extract the contents of this archive and move the folder containing the JDK files to the /Library/Java/JavaVirtualMachines/ folder on your Mac.

Next, go to netbeans.apache.org/download/ to download the installer for the latest version of NetBeans (version 12).

Alternative method for Windows

If the NetBeans installer on Windows gives you an error message saying that the JDK was not found, you can use an alternative installation method.

Go to the Oracle JDK download page and download the Windows x64 Installer from Oracle. Run that installer, then run the NetBeans installer,