InfoQ Homepage JDK Content on InfoQ
-
JEP 505 Delivers Fifth Preview of Java's Structured Concurrency with Key API Refinements
JEP 505, Structured Concurrency, has reached Targeted status in JDK 25. This refined API enhances parallel task management through static factory methods like StructuredTaskScope.open(). It improves cancellation, observability, and subtask lifetime handling, ensuring clearer, safer code. Developers are encouraged to explore and provide feedback on this innovative iteration.
-
Eclipse Migration Toolkit for Java (EMT4J) Simplifies Upgrading Java Applications
Adoptium announced Eclipse Migration Toolkit for Java (EMT4J), an open source Eclipse project capable of analyzing and upgrading applications from Java 8 to Java 11 and from Java 11 to Java 17. EMT4J will support upgrading to future LTS versions.
-
BellSoft Introduces Alpaquita Linux for Containerized Java Applications
BellSoft has released Alpaquita Linux, an operating system based upon Alpine Linux, optimized for containerized Java applications. A plain Docker image is available, as well as Docker images with Liberica JDK or JRE or a Native Image Kit based upon GraalVM. Alternatively, Alpaquita Linux can be installed via Windows Subsystem for Linux (WSL), Linux repositories or an ISO file.
-
State of the Java Ecosystem Report from New Relic
New Relic recently published a new report on the State of Java Ecosystem using data gathered in January 2022 from millions of anonymized applications that provided performance data.
-
End of Year Learnings from Minecraft’s Migration to JDK 16 and Q&A with the Mojang Team
In an effort to obtain a smoother transition towards JDK 17, Minecraft decided to upgrade to JDK 16 first just months before Java's LTS release in September 2021. The changes point towards possible performance gains just by running JDK 17 out-of-the-box. InfoQ reached out to the Mojang team with further questions on their experience running JDK 16 in production.
-
Red Hat Releases Language Support for Java Plugin 1.0 for VSCode
Red Hat has released version 1.0 of Language support for Java on VSCode that supports Java 17, displaying type hierarchies and improved performance. The source lookup feature has been improved and now supports unmanaged projects and is able to display sources of any library available on Maven central. This release also contains new code actions and support for Gradle files written in Kotlin.
-
Oracle's JDK 17 - Free Again for Commercial Use
The Oracle JDK is available free of charge for production use again - under the new "Oracle No-Fee Terms and Conditions" (NFTC) license. This move reverses a 2018 decision to charge for Oracle JDK production use and does not affect Oracle's OpenJDK distribution. The NFTC applies to the recently released version 17 of Oracle JDK and future versions.
-
IBM Introduces the Semeru Runtimes for OpenJ9
IBM introduced the no-cost Semeru Runtimes that use the class libraries from OpenJDK together with the Eclipse OpenJ9 Java Virtual Machine (JVM). The runtimes based on OpenJ9 may be used as an alternative for runtimes based on HotSpot. Previously AdoptOpenJDK produced binaries with OpenJ9, however, that’s no longer legally allowed since their move to the Eclipse Foundation under the name Adoptium.
-
Eclipse Foundation’s Adoptium Releases First Temurin JDK Builds
AdoptOpenJDK moved to the Eclipse Foundation as the Adoptium Working Group. Adoptium provides TCK-certified runtimes, based upon OpenJDK, called Eclipse Temurin. Adoptium provides Temurin binaries every six months and maintenance/security updates every three months. Long Term Support (LTS) releases are produced for at least four years.
-
Asserting JDK Flight Recorder Events with JfrUnit
JfrUnit may be used to verify whether or not events occurred that impact the performance of the application such as garbage collection and memory allocation. JfrUnit makes it possible to assert events emitted from the application such as memory allocation, IO, or database queries. Custom events may be created with the JMC agent for libraries that don’t emit events themselves.
-
Microsoft Open-Sources GCToolkit to Tap into JVM GC Logs
By open sourcing GCToolkit, Microsoft promises to tap into the rich information stored within the JVM’s GC logs. The tool promises to provide mechanisms to parse, analyse and visualise the GC log files in a human friendly manner.
-
Introducing JDKMon: a New Tool to Detect and Update JDKs
JDKMon, a new tool to monitor and update installed JDKs, provides an alternative to existing tools such as SDKMAN. With the many available JDK distributions nowadays, keeping several of them up-to-date on a user’s machine can be a challenge. JDKMon displays the installed JDK distributions that include buttons to download the latest version for each distribution.
-
Java News Roundup: JDK 17 Initial RC, OpenJDK, Updates to Open Liberty, Hibernate ORM, Spring Cloud
This week's Java roundup for August 2nd, 2021, features news from OpenJDK, JDK 17 initial release candidate, JDK 18, Spring Cloud 2021.0.0-M1, Quarkus 2.1.1, Open Liberty 21.0.0.8, WildFly 24.0.1 S2I Docker images, Hibernate ORM 5.5.6, JReleaser 0.6.0, Apache Camel 3.11.1 and MicroStream 5 is now open-source.
-
Internal JDK Elements Strongly Encapsulated in JDK 17
JEP 403 (Strongly Encapsulate JDK Internals) has been targeted for the GA release of JDK 17. It’s no longer possible to access internal APIs via the --illegal-access command line option. It’s expected that this option will be removed completely in the future. The --add-opens command line option or the Add-Opens JAR-file attribute may be used to open specific packages.
-
GraalVM 21.1 Supports JDK 16
Oracle Labs has released GraalVM 21.1 featuring experimental binaries for Java 16. This new release also contains performance improvements along with new features, such as support for multiple locales in a Native Image. Node.js, originally included in previous versions of the GraalVM installation package, is now an optional dependency requiring manual installation.