Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions blog_tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"blog_tags": [
{
"name": "announcements",
"posts": ["26.0.0.2-beta", "26.0.0.1", "26.0.0.1-beta",
"posts": ["26.0.0.2", "26.0.0.2-beta",
"26.0.0.1", "26.0.0.1-beta",
"25.0.0.12", "25.0.0.12-beta",
"25.0.0.11", "25.0.0.11-beta",
"25.0.0.10", "25.0.0.10-beta",
Expand Down Expand Up @@ -192,7 +193,7 @@
},
{
"name": "release",
"posts": ["26.0.0.2-beta", "26.0.0.1", "26.0.0.1-beta",
"posts": ["26.0.0.2", "26.0.0.2-beta", "26.0.0.1", "26.0.0.1-beta",
"25.0.0.12", "25.0.0.12-beta",
"25.0.0.11", "25.0.0.11-beta",
"25.0.0.10", "25.0.0.10-beta",
Expand Down Expand Up @@ -308,7 +309,7 @@
},
{
"name": "maven",
"posts": ["liberty-on-amazon-ecs",
"posts": ["26.0.0.2", "liberty-on-amazon-ecs",
"liberty-developer-essentials-badge", "liberty-user-feature-tutorial",
"liberty-project-starter-guide-IntelliJ",
"23.0.0.12", "liberty-ide-tools-maven-gradle-plugins-for-java-developers",
Expand Down Expand Up @@ -385,7 +386,7 @@
},
{
"name": "gradle",
"posts": ["23.0.0.12", "liberty-ide-tools-maven-gradle-plugins-for-java-developers",
"posts": ["26.0.0.2", "23.0.0.12", "liberty-ide-tools-maven-gradle-plugins-for-java-developers",
"23.0.0.6", "liberty-tools-eclipse-deep-dive",
"microprofile-serverless-ibm-code-engine","liberty-tools-eclipse",
"dev-mode-with-eclipse","feature-generation-tech-preview",
Expand Down Expand Up @@ -670,7 +671,7 @@
},
{
"name": "java-ee",
"posts": ["25.0.0.10", "25.0.0.10-beta",
"posts": ["26.0.0.2", "25.0.0.10", "25.0.0.10-beta",
"25.0.0.4", "25.0.0.4-beta",
"24.0.0.8", "24.0.0.8-beta",
"history-maker-projects", "space-sentry-challenge",
Expand Down
6 changes: 3 additions & 3 deletions posts/2026-02-24-26.0.0.2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ image::img/blog/blog_btn_stack.svg[Ask a question on Stack Overflow, align="cent
[#java_toolchains]
== Java Toolchains in Liberty Build Plugins

In the latest release of the Liberty build plugins, support has been added for Java Toolchains. This enhancement enables developers to decouple the JDK used to run their build tools(Maven or Gradle) from the JDK used to run the Liberty server and their applications. This provides greater flexibility and environmental consistency.
In the latest release of the Liberty build plugins, support has been added for Java Toolchains. This enhancement enables developers to decouple the JDK used to run their build tools (Maven or Gradle) from the JDK used to run the Liberty server and their applications. This provides greater flexibility and environmental consistency.

=== Java Toolchains support

The Liberty build plugins now support the standard Java Toolchain mechanism.
Previously, Liberty plugins were restricted to using the same Java version that was running Maven or Gradle.
This prevented developers from using more recent JDK versions for their build process if their applications required a specific older JDK version.

With Java Toolchains, you can now run your build tool on a modern JDK (for example, Java 25). At the same time, Liberty server and all server operations can execute using a different, configured JDK (for example, Java 8).
With Java Toolchains, you can now run your build tool on a modern JDK (for example, Java 25). At the same time, Liberty servers and all server operations can execute using a different, configured JDK (for example, Java 8).

=== Maven Plugin integration

Expand All @@ -174,7 +174,7 @@ The Liberty Gradle plugin now recognizes the native `java { toolchain { ... } }`

For detailed configuration steps and parameters, see the link:https://github.com/OpenLiberty/ci.gradle/blob/main/docs/toolchain.md[Liberty Gradle Plugin Toolchain documentation].

When a toolchain is configured in your `build.gradle`, the Liberty plugin uses that specific Java runtime for all server-related tasks(for example, `libertyDev` and `libertyStart`).
When a toolchain is configured in your `build.gradle`, the Liberty plugin uses that specific Java runtime for all server-related tasks (for example, `libertyDev` and `libertyStart`).

=== Try it now

Expand Down