Support for Java SE 23 and new versionless MicroProfile features in 24.0.0.10
This release introduces support for Java SE 23, which includes new features and enhancements. Versionless support for stand-alone MicroProfile features is also included.
In Open Liberty 24.0.0.10:
View the list of fixed bugs in 24.0.0.10.
Check out previous Open Liberty GA release blog posts.
Develop and run your apps using 24.0.0.10
If you’re using Maven, include the following in your pom.xml
file:
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.10.3</version>
</plugin>
Or for Gradle, include the following in your build.gradle
file:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.8.3'
}
}
apply plugin: 'liberty'
Or if you’re using container images:
FROM icr.io/appcafe/open-liberty
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.
Support for Java 23 in Open Liberty
Java 23 is the latest release of Java, released on September 17th 2024. It contains new features and enhancements over previous versions of Java. However, Java 23 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 functionality and changes that you are going to want to check out for yourself.
Here are the JEP changes in Java 23:
Take advantage of the new changes in Java 23 in Open Liberty now and get more time to review your applications, microservices and runtime environments on your favorite server runtime!
To start using Java 23 with Open Liberty:
-
Download the latest release of Java 23
-
Download and install the 24.0.0.10 version of Open Liberty
-
Edit your Liberty server.env file to point
JAVA_HOME
to your Java 23 installation -
Start testing today!
For more information on Open Liberty, please visit our documentation page.
For more information about Java 23, see the following resources:
Versionless stand-alone MicroProfile Liberty features
In 24.0.0.8, Open Liberty introduced versionless MicroProfile features. Versionless features allow you to easily use Liberty features without needing to know what feature version to use. The initial release of versionless features did not include the stand-alone MicroProfile technologies that are not part of the MicroProfile releases, but can work with the other MicroProfile features. An example of such a feature is mpContextPropagation-1.3
.
In 24.0.0.10, Open Liberty adds versionless features for stand-alone MicroProfile features. The following versionless features were added:
-
mpContextPropagation
-
mpGraphQL
-
mpReactiveMessaging
-
mpReactiveStreams
The following server.xml
configuration file uses the MicroProfile platform microProfile-6.1
with the new versionless stand-alone features:
<featureManager>
<platform>microProfile-6.1</platform>
<feature>mpContextPropagation</feature>
<feature>mpGraphQL</feature>
<feature>mpReactiveMessaging</feature>
<feature>mpReactiveStreams</feature>
</featureManager>
Learn more and check out the full collection of available platforms and versionless features in the Open Liberty docs. Stay tuned for more versionless features and platforms in future releases.
Get Open Liberty 24.0.0.10 now
Available through Maven, Gradle, Docker, and as a downloadable archive.