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.

Java versions and VMs

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.

Download Java 11 from this link or any version you like from this website

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.

Conclusion

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 PATH and JAVA_HOME environment variable to Windows system. These steps usually stop the people who are new to Java.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matt Wang

Matt Wang

28 Followers

Experienced Ruby on Rails enthusiast. Rich experience in software development. Proficient in Ruby/Python, Go/C/C++ and Javascript. Interested in DevOps.