-
Notifications
You must be signed in to change notification settings - Fork 292
Updating to OpenJDK
Justin Bowen edited this page Oct 7, 2021
·
5 revisions
First, I must specify two things. Today's date is 31-Dec-2020, and our current Java version is specified here.
This guide is written to assist one in switching to the recommended version when using OpenJDK.
Steps:
- Uninstall your current Java install first, or you will have problems (multiple players have found this out the hard way and reported it to me)
- Reboot your machine.
- Go to https://adoptopenjdk.net/ and choose OpenJDK of the version recommended at the top of this file. For the JVM to install, one must considered the difference between the two (at time of writing) versions. HotSpot is the recommended install in almost all cases, however those requiring minimal RAM usage or to interface with IBM's JDK should instead select OpenJ9.
- Download and run the installer.
- When you get to the install options:
You need to change the bottom 2 (Set JAVA_HOME variable, and JavaSoft (Oracle) registration keys) to be installed. Click the drop down and set to "Will be installed on local hard drive"
When done it should look like this:
- Click next to finish the install.
- Reboot your machine.
You should now have the recommended Java installed.