diff --git a/blog_tags.json b/blog_tags.json index da18108f3..b3bb02fce 100644 --- a/blog_tags.json +++ b/blog_tags.json @@ -136,7 +136,8 @@ }, { "name": "java-se", - "posts": ["23.0.0.10", "23.0.0.10-beta", + "posts": ["24.0.0.1", "Java21-Images", + "23.0.0.10", "23.0.0.10-beta", "23.0.0.3", "23.0.0.3-beta", "22.0.0.11", "java-19-22.0.0.10-beta", "java18-22004", "graphql-22004-beta", @@ -491,7 +492,7 @@ }, { "name": "performance-enhancements", - "posts": ["24.0.0.1", + "posts": ["Java21-Images", "24.0.0.1", "23.0.0.10-beta", "23.0.0.6", "rapid-startup-instanton", "23.0.0.5-beta", "aws-instant-on","instant-on-beta-update", diff --git a/posts/2024-01-30-24.0.0.1.adoc b/posts/2024-01-30-24.0.0.1.adoc index fca60308f..1543bf74f 100644 --- a/posts/2024-01-30-24.0.0.1.adoc +++ b/posts/2024-01-30-24.0.0.1.adoc @@ -6,8 +6,8 @@ categories: blog author_picture: https://avatars3.githubusercontent.com/dmuelle author_github: https://github.com/dmuelle seo-title: Expanded InstantOn support in Open Liberty 24.0.0.1 - OpenLiberty.io -seo-description: InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, as well as more versions of previously supported features. This release also introduces the option to verify the authenticity of the Open Liberty public key. -blog_description: InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, as well as more versions of previously supported features. This release also introduces the option to verify the authenticity of the Open Liberty public key. +seo-description: InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, as well as more versions of previously supported features. This release also introduces Java 21 container images and the option to verify the authenticity of the Open Liberty public key. +blog_description: InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, as well as more versions of previously supported features. This release also introduces Java 21 container images and the option to verify the authenticity of the Open Liberty public key. open-graph-image: https://openliberty.io/img/twitter_card.jpg open-graph-image-alt: Open Liberty Logo --- @@ -18,13 +18,13 @@ David Mueller :url-about: / //Blank line here is necessary before starting the body of the post. -The 24.0.0.1 release expands the set of Liberty features that Liberty InstantOn supports. InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, and more versions of previously supported features. This release also introduces the option to verify the authenticity of the Open Liberty public key. +The 24.0.0.1 release expands the set of Liberty features that Liberty InstantOn supports. InstantOn now supports features that enable Jakarta and Java XML Web Services and Jakarta and Java Mail functions, and more versions of previously supported features. This release also introduces Java 21 container images and the option to verify the authenticity of the Open Liberty public key. In link:{url-about}[Open Liberty] 24.0.0.1: * <> - +* <> * <> View the list of fixed bugs in link:https://github.com/OpenLiberty/open-liberty/issues?q=label%3Arelease%3A24001+label%3A%22release+bug%22[24.0.0.1]. @@ -75,6 +75,12 @@ Or take a look at our link:{url-prefix}/start/[Downloads page]. If you're using link:https://plugins.jetbrains.com/plugin/14856-liberty-tools[IntelliJ IDEA], link:https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext[Visual Studio Code] or link:https://marketplace.eclipse.org/content/liberty-tools[Eclipse IDE], you can also take advantage of our open source link:https://openliberty.io/docs/latest/develop-liberty-tools.html[Liberty developer tools] to enable effective development, testing, debugging, and application management all from within your IDE. +[#java21] +== New container images for Java 21 + +Starting in 24.0.0.1, you can pull Open Liberty container images that use Java 21 from IBM Container Registry. The images are available in either `full` or `kernel-slim` image types and are based on Universal Base Image (UBI) 9 minimal. They include the IBM Semeru Runtimes for Java 21 Java runtime environment (JRE). For more information, see link:{url-prefix}/blog/2024/02/05/Java21-Images.html[UBI 9 minimal Liberty container images with Semeru Runtime Java 21 support]. + + // // // // DO NOT MODIFY THIS COMMENT BLOCK // // // // // Blog issue: https://github.com/OpenLiberty/open-liberty/issues/27303 // Contact/Reviewer: anjumfatima90 diff --git a/posts/2024-02-05-Java21-Images.adoc b/posts/2024-02-05-Java21-Images.adoc new file mode 100644 index 000000000..58d0237a4 --- /dev/null +++ b/posts/2024-02-05-Java21-Images.adoc @@ -0,0 +1,42 @@ +--- +layout: post +title: "UBI 9 minimal Liberty container images with Semeru Runtime Java 21 support" +# Do NOT change the categories section +categories: blog +author_picture: https://avatars3.githubusercontent.com/tjwatson +author_github: https://github.com/tjwatson +seo-title: UBI 9 minimal Liberty container images with Semeru Runtime Java 21 support +seo-description: Liberty now offers container images with Java 21 support using the Semeru Runtime JRE. These images use UBI 9 minimal base images and the Semeru JRE to produce smaller application images. They also now offer InstantOn support for the Power and Z (s390x) processor architectures, along with the previously supported x86-64/AMD64 processor architectures. +blog_description: "Liberty now offers container images with Java 21 support using the Semeru Runtime JRE. These images use UBI 9 minimal base images and the Semeru JRE to produce smaller application images. They also now offer InstantOn support for the Power and Z (s390x) processor architectures, along with the previously supported x86-64/AMD64 processor architectures." +open-graph-image: https://openliberty.io/img/twitter_card.jpg +open-graph-image-alt: Open Liberty Logo +--- += UBI 9 minimal Liberty container images with Semeru Runtime Java 21 support +Thomas Watson +:imagesdir: / +:url-prefix: +:url-about: / + +Liberty now offers container images with Java 21 support using the Semeru Runtime JRE. These images use UBI 9 minimal base images and the Semeru JRE to produce smaller application images. They also now offer InstantOn support for the Power and Z (s390x) processor architectures, along with the previously supported x86-64/AMD64 processor architectures. + +== Universal Base Image Minimal Version 9 +The link:https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5[Universal Base Image 9 Minimal] is a stripped down image that uses `microdnf` as a package manager, which allows for the production of smaller application images. Open Liberty Java 21 UBI 9 minimal link:https://github.com/OpenLiberty/ci.docker/blob/main/docs/icr-images.md[images] are available starting with the 24.0.0.1 release of Open Liberty. The UBI 9 minimal content may impact some application image builds because of missing functionality. Application image builds can use `microdnf` to install additional packages as required. Unlike UBI 8, UBI 9 is not [FIPS compliant](https://access.redhat.com/articles/2918071#fips-140-2-and-fips-140-3-2) at the time of this publication. Other Open Liberty Java version images will continue to use the UBI 8 standard images (Java 8, Java 11, Java 17). + +== Semeru Runtime Java 21 JRE +The high-performance link:https://developer.ibm.com/languages/java/semeru-runtimes[IBM Semeru Runtime] now supports link:https://community.ibm.com/community/user/wasdevops/blogs/tony-renaud/2024/01/11/ibm-semeru-runtime-open-edition-2101-is-out-today[Java 21], including the various Java 21 language features, such as Virtual threads, scoped values, record patterns, the latest foreign functions and memory API, and more. + +For Java 21, the Open Liberty project now uses UBI 9 minimal images with the Semeru Runtime Java 21 JRE link:https://github.com/ibmruntimes/semeru-containers[container] images. The Semeru Runtime JRE images are considerably smaller than the JDK images. The Liberty Java 21 images provide a very nice reduction in the size of application images due to the use of the UBI 9 minimal image and the Semeru Runtime JRE image. The reduced content of the JRE image might impact some application images because of its reduced functionality. + +== Liberty InstantOn support on Power and IBM Z with the Java 21 image +link:https://openliberty.io/docs/latest/instanton.html[Liberty InstantOn] support for Power and Z (s390x) require the UBI 9 based image. The Liberty Java 21 UBI 9 minimal images can now use Liberty InstantOn to achieve faster application startup on the Power and IBM Z (s390x) process architectures. Liberty InstantOn continues to support the x86-64/AMD64 process architectures with the Liberty container link:https://github.com/OpenLiberty/ci.docker/blob/main/docs/icr-images.md[images] using Java versions 11, 17 and 21. + +// // // // // // // // +// LINKS +// +// OpenLiberty.io site links: +// link:/guides/microprofile-rest-client.html[Consuming RESTful Java microservices] +// +// Off-site links: +// link:https://openapi-generator.tech/docs/installation#jar[Download Instructions] +// +// // // // // // // //