back to all blogsSee all blog posts

Java SE 22 support in

image of author
Ramkumar K on Apr 23, 2024
Post available in languages:

The release introduces support for Java SE 22 and includes CVE fixes. We’ve also updated several Open Liberty guides to use MicroProfile Reactive Messaging 3.0, MicroProfile 6.1, and Jakarta EE 10.

In Open Liberty

Develop and run your apps using

If you’re using Maven, include the following in your pom.xml file:


Or for Gradle, include the following in your build.gradle file:

buildscript {
    repositories {
    dependencies {
        classpath ''
apply plugin: 'liberty'

Or if you’re using container images:


Or take a look at our Downloads page.

If you’re using IntelliJ IDEA, Visual Studio Code or Eclipse IDE, you can also take advantage of our open source Liberty developer tools to enable effective development, testing, debugging and application management all from within your IDE.

Ask a question on Stack Overflow

Support for Java SE 22 in Open Liberty

Java 22 is the latest release of Java SE, released in March 2024. It contains new features and enhancements over previous versions of Java. However, Java 22 is not a long-term support (LTS) release and support for it will be dropped when the next version of Java is supported. It offers some new functions and changes that you are going to want to check out for yourself.

Check out the following feature changes in Java 22:

Take advantage of the new changes in Java 22 in Open Liberty now and get more time to review your applications, microservices, and runtime environments on your favorite server runtime!

To use Java 22 with Open Liberty, just download the latest release of Java 22 and install the version of Open Liberty. Then, edit your Liberty server.env file to point the JAVA_HOME environment variable to your Java 22 installation and start testing today.

For more information about Java 22, see the following resources:

8 guides are updated to use MicroProfile Reactive Messaging 3.0

The following 8 guides are updated to use the MicroProfile Reactive Messaging 3.0, MicroProfile 6.1 and Jakarta EE 10 specifications:

Also, the integration tests in these guides are updated to use Testcontainers. To learn how to test reactive Java microservices in true-to-production environments using Testcontainers, try out the Testing reactive Java microservices guide.

Security vulnerability (CVE) fixes in this release

CVE CVSS score by X-Force® Vulnerability assessment Versions affected Version fixed Notes



Denial of service -

Affects the openidConnectClient-1.0, socialLogin-1.0, mpJwt-1.2, mpJwt-2.0, mpJwt-2.1, jwt-1.0 features



Cross-site scripting -

Affects the servlet-6.0 feature

For a list of past security vulnerability fixes, reference the Security vulnerability (CVE) list.

Get Open Liberty now