Install Java on Windows 8/10 for Adelaide University Distributed Systems course
Step 1, download the Java installer package from AdoptOpenJDK (a credible website)
You might be aware that there are many versions of Java, and two VMs. Which one is more suitable, which one is the best, we will discuss this common question in another article.
Today, we chose Java 11 and HotSpot. The main reason is very simple. Java 11 is a common and LTS (Long-term support) version, and HotSpot is a proven VM in terms of stability and performance.
Step 2, install Java
On Windows, it is super easy to install a software with an installer package by just double-clicking the Java 11 installer package download in step 1 and following the wizard to complete the installation.
Here is the step-by-step wizard:
Step 3, test java
Open Command Prompt and type
java -version. If Java was installed properly, you should see the similar information showed in the following screenshot.
Thanks to OpenJDK community for releasing such thoughtful installer packages. It significantly simplifies the installation process. Without the installer packages, users need to add Java executable file to
JAVA_HOME environment variable to Windows system. These steps usually stop the people who are new to Java.