Loading...

Java17 is Released; Free for Commercial

Java17 is Released; Free for Commercial

Java 17 is Released; Free for Commercial

JDK 17 is more fragrant. In addition to adding a lot of new features, Oracle officially announced that JDK 17 is free for commercial use!

It can be seen from the official statement: Oracle JDK 17 and future JDK versions are provided under a free license until the next LTS version is released for a full year.

What does LTS mean? It is Long-Term-Support, the long-term support version, which is different from the transitional versions of 16, 15, 14, 13, and 12.

In the production environment, the three most commonly used versions are JDK 6, JDK 8, and JDK 11. Will JDK 17 be the next one?

The above picture is the timeline of Oracle JDK support officially given by Oracle. It can be seen that JDK 17 can support up to September 2029, for up to 8 years!

According to the speed of technology update and iteration, 8 years is not short!

From the perspective of Oracle’s urgency, these 8 years of free commercial use can be described as a good intention, in order to make users feel confident and boldly upgrade JDK to JDK 17.

However, it seems that JDK 8 support is longer and can be extended to December 2030. It seems that I have discovered some truth again: He forced him to be strong, I use Java 8!

Recommend the “Java Programmer’s Advancement Road” column open-sourced by the second brother on GitHub! Funny and humorous, easy to understand, extremely friendly and comfortable for Java beginners😘, the content includes but is not limited to Java syntax, Java collection framework, Java IO, Java concurrent programming, Java virtual machine, and other core knowledge points.

GitHub address: https://github.com/itwanger/toBeBetterJavaer

Before JDK 17, the LTS version was released every 3 years, 11 is 2018, 8 is 2014, and 7 is 2011.

After that, Oracle plans to release a future LTS version every two years. That is to say, the next LTS version, JDK 21, will be released in September 2023.

Shopify Web-Design Vancouver

The speed of technology update iteration is fast again!

I emphasize one point here. The non-long-term support version must not be used in a production environment, but it is still possible to use it as a learning object.

JDK 17 provides 14 JEPs (JDK Enhancement Proposal), that is, 14 new features. Let’s take a look!

characteristicillustrate
306:Restore Always-Strict Floating-Point SemanticsRestore floating point definitions that always enforce strict mode
356:Enhanced Pseudo-Random Number GeneratorsEnhanced pseudo-random number generator
382:New macOS Rendering PipelineThe new macOS rendering pipeline
391:macOS/AArch64 PortmacOS AArch64 port
398:Deprecate the Applet API for RemovalDeprecated Applet API
403:Strongly Encapsulate JDK InternalsStrong encapsulation inside JDK
406:Pattern Matching for a switch (Preview)Support pattern matching for switch
407:Remove RMI ActivationRemove RMI activation
409:Sealed ClassesSealed
410:Remove the Experimental AOT and JIT CompilerRemove the experimental AOT and JIT compilers
411:Deprecate the Security Manager for RemovalDeprecate security manager
412:Foreign Function & Memory API (Incubator)External functions and memory API (incubating)
414:Vector API (Second Incubator)Vector API (in the second incubation)
415:Context-Specific Deserialization FiltersContext-specific deserialization filter

Java language enhancement – Richmond SEO Agency

JEP 409: Sealed classes, sealed classes, and interfaces, you can restrict other classes or interfaces to extend or implement them.

It can be seen from the official statement: Oracle JDK 17 and future JDK versions are provided under a free license until the next LTS version is released for a full year.

What does LTS mean? It is Long-Term-Support, the long-term support version, which is different from the transitional versions of 16, 15, 14, 13, and 12.

In the production environment, the three most commonly used versions are JDK 6, JDK 8, and JDK 11. Will JDK 17 be the next one?

Updates and improvements to the library – Vancouver Web-design Services

JEP 306: Restore floating point definitions that always enforce strict mode. Java originally only had strict floating-point semantics, but starting from JDK 1.2, in order to adapt to the limitations of the hardware architecture at the time, minor changes in these strict semantics were allowed by default, and these are now unnecessary.

JEP 356: Enhanced pseudo-random number generator. Provides new interface types and implementations for the pseudo-random number generator (PRNG).

JEP 382: The new macOS rendering pipeline. Implemented a Java 2D rendering pipeline for macOS using Apple Metal API. The new pipeline reduces the JDK’s reliance on the deprecated Apple OpenGL API.

New platform support

JEP 391: macOS AArch64 port. This port allows Java applications to run on new Arm 64-based Apple Silicon computers.

Deletion and deprecation

JEP 398: Deprecate Applet API. The applet is a Java program that runs in a web browser. It has long been outdated and it is necessary to delete it.

JEP 407: Removed the remote method invocation (RMI) activation mechanism.

JEP 410: Delete the experimental AOT and JIT compilers. These two experimental functions have not been widely used, and the deletion saves maintenance.

JEP 411: Deprecation of security manager. The security manager can be traced back to Java 1.0, but it hasn’t played a very good protective role for many years, so worry-free is deleted.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *