[JAVA] About selection of OpenJDK

Oracle JDK issue no longer available for commercial use

Even with Java 8, the license has already been changed and it has become NG except for development.

The following are proposed as alternatives. From Java is Still Free 2.0.3

Free Binary Distributions Free Builds for Linux, Windows, Mac, etc. [OpenJDK, no commercial support]:

AdoptOpenJDK (commercial support also available by IBM and jClarity) Amazon Corretto Azul Zulu (commercial support also available) BellSoft Liberica JDK (commercial support also available) Linux Distros Oracle OpenJDK build SapMachine

Since the January 2019 release of AdoptOpenJDK, msi has been prepared for the Windows version, and it can be easily installed on Windows.

AdoptOpenJDK is generally supported as the first candidate, and Ecripse seems to have adopted this, so I got on the trend. Verification is necessary because the implementation is not always the same anyway.

SikuliX AdoptOpenJDK with Hotspot 8 Since it is working without any problems in a hurry, leave it as it is. I will write an article when something comes out.

How to install AdoptOpenJDK

1. Uninstall the Oracle JDK.

2. Download the installer from the official.

Official site https://adoptopenjdk.net/index.html

8 has the longest support period at the moment https://adoptopenjdk.net/support.html

At Least Sep 2023

This time I will put 8 in.

Hurry up and press the Latest release button while it is displayed. image.png

2.Choose a JVM is basically the same as the previous Oracle JDK because it is HotSpot.

3. Installation

OpenJDK8U-jdk_x64_windows_hotspot_8u212b03.msi There is a file like this, so double-click it to install SikuliX and Pentaho worked without any problem with YES man with the basic default.

Recommended Posts

About selection of OpenJDK
About disconnect () of HttpURLConnection
Summary of OpenJDK sources
About DI of Spring ①
About DI of Spring ②
About form. ○○ of form_with
About @Accessors of Lombok
About an instance of java
About simple operation of Docker
About the description of Docker-compose.yml
About size comparison of compareTo
About types of code coverage
Memorandum of understanding about LOD.
About partial match of selector
About the behavior of ruby Hash # ==
About the basics of Android development
About fastqc of Biocontainers and Java
About Lambda, Stream, LocalDate of Java8
About error handling of comment function
[Rails] About implementation of like function
About binding of Spring AOP Annotation
Windows version of OpenJDK installation procedure
About the role of the initialize method
About removeAll and retainAll of ArrayList
Think about the 7 rules of Optional
About =
About image upload of jsp (servlet)
About Disk Cache of Glide 4 series
[Ruby] Review about nesting of each
Explanation about Array object of Ruby
Summary about the introduction of Device
About the log level of java.util.logging.Logger
What is testing? ・ About the importance of testing
[Rails 6.0] About batch saving of multiple records
About the operation of next () and nextLine ()
About the initial display of Spring Framework
About the error message Invalid redeclaration of'***'
[Java beginner] About initialization of multidimensional array
[Basic knowledge of Java] About type conversion
About the treatment of BigDecimal (with reflection)
About the number of threads of Completable Future
About the mechanism of the Web and HTTP