Skip to content

Commit c1f6bfa

Browse files
Merge pull request #4717 from OpenLiberty/26.0.0.2-post
Update 26.0.0.2-post into draft
2 parents cb0d211 + 608d419 commit c1f6bfa

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

posts/2026-02-24-26.0.0.2.adoc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ categories: blog
66
author_picture: https://avatars3.githubusercontent.com/navaneethsnair1
77
author_github: https://github.com/navaneethsnair1
88
seo-title: Java Toolchains in Liberty Build Plugins in 26.0.0.2- OpenLiberty.io
9-
seo-description: This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, allowing developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
10-
blog_description: This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, allowing developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
9+
seo-description: This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, enabling developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
10+
blog_description: This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, enabling developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
1111
open-graph-image: https://openliberty.io/img/twitter_card.jpg
1212
open-graph-image-alt: Open Liberty Logo
1313
blog-available-in-languages:
@@ -52,7 +52,7 @@ Navaneeth S Nair <https://github.com/navaneethsnair1>
5252
// change the "IMAGE CAPTION" to a couple words of what the image is
5353
// // // // // // // //
5454

55-
This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, allowing developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
55+
This release introduces Java Toolchains support in the Liberty Maven and Gradle plugins, enabling developers to decouple the JDK used to run build tools from the JDK used to run the Liberty server.
5656

5757
// // // // // // // //
5858
// In the preceding section:
@@ -150,19 +150,15 @@ image::img/blog/blog_btn_stack.svg[Ask a question on Stack Overflow, align="cent
150150
[#java_toolchains]
151151
== Java Toolchains in Liberty Build Plugins
152152

153-
In this update, Open Liberty introduces support for Java Toolchains in the Liberty Maven and Gradle plugins. This enhancement allows developers to decouple the JDK used to run their build tools from the JDK used to run the Liberty server, providing greater flexibility and environmental consistency.
154-
155-
* link:https://www.google.com/search?q=%23java-toolchains[Java Toolchains support]
156-
* link:https://www.google.com/search?q=%23maven-integration[Maven Plugin integration]
157-
* link:https://www.google.com/search?q=%23gradle-integration[Gradle Plugin integration]
153+
In this update, Open Liberty introduces support for Java Toolchains in the Liberty Maven and Gradle plugins. This enhancement enables developers to decouple the JDK used to run their build tools from the JDK used to run the Liberty server, providing greater flexibility and environmental consistency.
158154

159155
=== Java Toolchains support
160156

161157
Open Liberty build plugins now support the standard Java Toolchain mechanism.
162158
Previously, Liberty plugins were restricted to using the same Java version that was running Maven or Gradle.
163159
This often forced developers to use older JDKs for their entire build process if their application required a specific legacy runtime.
164160

165-
With Java Toolchains, you can now run your build tool on a modern JDK (e.g., Java 21). This ensures the Liberty server and its tasks (such as dev mode or JSP compilation) execute on a different, specified JDK (e.g., Java 8 or 11).
161+
With Java Toolchains, you can now run your build tool on a modern JDK (for example, Java 21). This helps ensure that the Liberty server and its tasks (such as dev mode or JSP compilation) execute using a different, specified JDK (for example, Java 8 or 11).
166162

167163
=== Maven Plugin integration
168164

@@ -183,7 +179,7 @@ The plugin acknowledges the JDK vendor and version constraints that are defined
183179

184180
=== Gradle Plugin integration
185181

186-
For Gradle users, the Liberty Gradle plugin now acknowledges the native `java { toolchain { ... } }` configuration block. This configuration provides a unified way to manage Java versions in multi-project builds where different services might have different runtime requirements.
182+
For Gradle users, the Liberty Gradle plugin now recognizes the native `java { toolchain { ... } }` configuration block. This configuration provides a unified way to manage Java versions across multi-project builds, where different services might have different runtime requirements.
187183

188184
For technical specifics on how the plugin resolves these environments, see the link:https://github.com/OpenLiberty/ci.gradle/blob/main/docs/toolchain.md[Liberty Gradle Plugin Toolchain documentation].
189185

0 commit comments

Comments
 (0)