Liberty for Java Buildpack Now Includes AdoptOpenJDK 11 OpenJ9 JVM

By: Kevin Ortega

Enhancements to the Liberty for Java buildpack

The Liberty for Java buildpack now includes two Java Runtime Environments (JREs). In addition to the IBM Small Footprint JRE, the buildpack now includes the latest AdoptOpenJDK 11 OpenJ9 release.

What is OpenJ9?

OpenJ9 is a high performance, scalable, Java™ virtual machine (VM) implementation that is fully compliant with the Java Virtual Machine Specification.

Key features include the following:

  • Low memory footprint
  • Fast startup time
  • High application throughput
  • Smoother ramp-up in the cloud

How do I push my application with the OpenJ9 JRE?

The IBM Small Footprint JRE v8 continues to be the default JRE pushed with the application. Set the JBP_CONFIG_IBMJDK environment variable to "version: 11.+" to use the openJ9 JRE:

JBP_CONFIG_IBMJDK = 'version: 11.+'

You can set the variable in the application's manifest or using the cf set-env command.

Be the first to hear about news, product updates, and innovation from IBM Cloud