GraalVM adds Java 11 support

Latest upgrade of Oracle’s polyglot VM becomes the project”s first long term support release

Oracle has added Java 11 support to the GraalVM universal virtual machine, with the just-released GraalVM 19.3.

GraalVM 19.3 is the first long term support (LTS) release of the VM built from the mainline of the project. This means it will continue to receive security, stability, and performance updates until the next LTS release arrives.

Java 11, or Java Development Kit 11, is the latest long term support release of Java; it arrived in September 2018. With JDK 11-based GraalVM builds being compatible with Java 11, developers can run applications requiring Java 11. Users benefit from improvements that went into OpenJDK 8 through OpenJDK 11 while using the GraalVM compiler as the top-tier, optimizing, just-in-time compiler on the JVM.

When migrating from JDK 8 to JDK 11, users need to be aware of compact strings, which improve the space efficiency of the String class, and the use of the G1 garbage collector by default. Also, GraalVM uses module encapsulation to isolate the GraalVM compiler and the Truffle API code from application code and can run modularized apps.

GraalVM can run applications written in Java and other JVM-based languages including Groovy, Kotlin, and Scala, along with JavaScript, Python, Ruby, R, C, and C++. GraalVM removes the isolation between languages, enabling interoperability in a shared runtime.

Other new features in GraalVM 19.3:

  • GraalVM Native Image technology, which allows scripted applications to be compiled ahead of time into a machine code binary, supports Java 11 code as an early adopter feature.
  • Maven build tool coordinates have changed for Native Image-related JARs. The group ID for the artifacts is now org.graalvm.nativeimage. It had been com.oracle.substratevm.
  • Greater visibility is offered via new tools.
  • Node.js support has been upgraded to the Node.js 12.x LTS branch.

Where to download GraalVM

You can download GraalVM from the project page.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

More about OracleScala

Show Comments
[]