1.
Download and Install Oracle JDK 11
Oracle JDK 11 is the first LTS (Long Term Support) Java Development Kit since Oracle changed
Java release cadence to every 6 months. According to Oracle, JDK 11 will be supported
(commercial support) until September 2026.
Head to Java SE Development Kit 11 Downloads page and choose the download file appropriate to
your operating system. Oracle JDK 11 comes with installers for Linux (rpm and deb), macOS (dmg),
Windows (exe) and archive files ([Link] and zip).
[Link]
1 What is JDK?
JDK stands for Java Development Kit. The Java development kit contains the
environment to develop and execute (run) a Java application. It is a package
that comes with the development tools and the JRE(Java Runtime environment).
Now, right-click the jdk-11.0.15.1_windows-x64_bin (version may
differ) file, and select Run as administrator from the context menu.
Click Yes in the UAC (User Account Control) prompt that pops up.
Click the Next button.
You can click Change to select an alternative folder to install Java
SE 11 or click on Next to continue with the default location right
away.
How do I check if JDK 11 is installed on my computer?
Now, type or paste the following command and hit Enter to view the
Java version
If the Command Prompt lists the version number along with other relevant
information, you have JDK installed on the computer.
However, if you receive a response that ‘java’ is not recognized as an internal or
external command, operable program or batch file, it means that you don’t
have JDK installed yet, and can follow the steps above to get it.