Considering the adoption of Java language in the Reiwa era ~ How to choose a safe SDK

Target of this article

I've been developing web applications in Java so far, but have you been paid recently? Can't it be used for commercial purposes? Those who are worried.

Java paid? Rough overview

Oracle JDK pricing

Roughly summarizing from the official page, "1 processor for Web services = 3,000 yen per month". The price is almost the same in cloud environments such as AWS. In EC2, the amount of money differs depending on whether hyper-threading is enabled or disabled, but it seems unlikely that hyper-threading will be considered on a Web application server that deploys in Java. https://www.oracle.com/technetwork/jp/java/javaseproducts/overview/javasesubscriptionfaq-4891443-ja.html https://www.oracle.com/jp/corporate/pricing/mcpu-189131-ja.html https://www.oracle.com/technetwork/jp/java/eol-135779-ja.html http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf

Other than Oracle JDK

OpenJDK This is also built by Oracle. Updated every 6 months. Support is also 6 months. Needs an update once every 6 months.

Amazon Corretto A new JDK that Amazon has begun to offer. JDK8 compatibility will be supported free of charge until June 2023. Free support for JDK11 compatibility until August 2024 at the earliest.

And many more

There was a polite summary on this slide. https://www.slideshare.net/TakahiroYamada3/how-to-choose-the-best-openjdk-distribution-201905

what will you do?

If you can't mess with your existing server environment

For companies and departments that require a release plan to update Java, or the JDK version upgrade itself is a project.

Even if it is paid, it is "1 processor = 3,000 yen per month", so it seems that it will be cheaper in most cases to subscribe to the Oracle JDK than to spend the labor cost to migrate.

other than that

In addition to Amazon Linux, Amazon Corretto also supports Windows, Mac and CentOS of Debian-based Linux, so it is not a vendor lock-in. It also comes with a Mac and Windows installer, and Amazon Corretto is recommended for web applications.

Recommended Posts

Considering the adoption of Java language in the Reiwa era ~ How to choose a safe SDK
How to get the absolute path of a directory running in Java
How to derive the last day of the month in Java
How to switch Java in the OpenJDK era on Mac
How to check for the contents of a java fixed-length string
How to get the length of an audio file in java
How to increment the value of Map in one line in Java
How to get the date in java
The story of forgetting to close a file in Java and failing
How to find out the Java version of a compiled class file
[Java] How to get to the front of a specific string using the String class
How to find the total number of pages when paging in Java
How to change the value of a variable at a breakpoint in intelliJ
How to display a web page in Java
Measure the size of a folder in Java
[Java] How to get the authority of the folder
How to get the ID of a user authenticated with Firebase in Swift
How to make a unique combination of data in the rails intermediate table
[Java] How to get the URL of the transition source
How to create a Java environment in just 3 seconds
[Java] How to omit the private constructor in Lombok
How to write Scala from the perspective of Java
[Java] How to get the maximum value of HashMap
How to create a data URI (base64) in Java
[Android] How to get the setting language of the terminal
How to convert A to a and a to A using AND and OR in Java
How to convert a file to a byte array in Java
Summary of how to implement default arguments in Java
A memo about the types of Java O/R mappers and how to select them
How to get the class name of the argument of LoggerFactory.getLogger when using SLF4J in Java
How to save a file with the specified extension under the directory specified in Java to the list
[Java] How to display the day of the week acquired by LocalDate, DateTimeformatter in Japanese
Summary of how to use the proxy set in IE when connecting with Java
How to get the class name / method name running in Java
A quick explanation of the five types of static in Java
How to create a placeholder part to use in the IN clause
How to store a string from ArrayList to String in Java (Personal)
Create a method to return the tax rate in Java
[Ruby] How to retrieve the contents of a double hash
How to add the same Indexes in a nested array
How to develop and register a Sota app in Java
How to simulate uploading a post-object form to OSS in Java
I tried to make a client of RESAS-API in Java
[jsoup] How to get the full amount of a document
[Java] How to search for a value in an array (or list) with the contains method
How to make a key pair of ecdsa in a format that can be read by Java
How to implement a job that uses Java API in JobScheduler
How to create a new Gradle + Java + Jar project in Intellij 2016.03
How to automatically operate a screen created in Java on Windows
How to get the id of PRIMAY KEY auto_incremented in MyBatis
How to install the language used in Ubuntu and how to build the environment
The milliseconds to set in /lib/calendars.properties of Java jre is UTC
Cast an array of Strings to a List of Integers in Java
Get the public URL of a private Flickr file in Java
How to store the information entered in textarea in a variable in the method
How to output a list of strings in JSF as comma-separated strings
How to solve the unknown error when using slf4j in Java
Let's create a TODO application in Java 5 Switch the display of TODO
[chown] How to change the owner of a file or directory
How to make a Java container
How to learn JAVA in 7 days