Loading

Upgrading MuleSoft to Java 17: A Comprehensive Guide

Date de publication: Mar 6, 2026
Description

MuleSoft is adopting Java’s long-term-support (LTS) release cadence, beginning with Mule runtime 4.6, which adds support for Java 17 LTS.

This change has no immediate impact to Mule applications that are running on currently supported Mule versions, or on applications that are upgraded to Mule Runtime 4.6. Existing Java 8 apps will continue to run on Java 8 until August 2025 (End of Standard Support). For the latest information on Mule Runtime supported versions, refer to our documentation - Mule Runtime Release Cadence Support

Utilize this article and linked resources to ensure a smooth transition to Java 17 before August 2025.

Résolution

Why Upgrade to Java 17 with Mule 4.6?

Boosted Performance:

  • Java 17 introduces performance improvements such as quicker startup times, reduced garbage collection delays, and better handling of large applications.

  • Experience a noticeable enhancement in your application's performance.

Strengthened Security:

  • Java 17 brings critical security updates and fixes.

  • Upgrading means your applications are protected with the latest defenses against vulnerabilities.

Assured Long-Term Support:

  • Java 17 is an LTS release, offering extended support for a stable and reliable foundation, especially for enterprise applications with long lifecycles.

Navigating the Upgrade from Mule 4.4 to 4.6

Strategize Your Upgrade:

Mule Apps and Java 17

You can update, test, and redeploy most of your currently running Mule apps to use Java 17. However, any apps and connectors that are running custom Java code require additional work to certify those components. Before you upgrade your integration apps or Mule Gateway policies and proxies to Java 17, you must update all extensions, modules, and connectors used within those apps and policies to Java 17.

To ensure your API proxies or Mule apps are protected when upgrading, upgrade your API policies before upgrading your API proxies or Mule apps.

Testing Your Upgraded System with Java 17

  • Thoroughly test all components to ensure they operate correctly after the upgrade.

  • Allow ample time for QA testing and involve stakeholders to confirm performance and functionality standards are met.

Mule Runtime 4.6 and Upgrading to Java 17

Watch this video for an overview of the runtime update and advice on upgrading to Java 17.

Additional Resources for MuleSoft Java 17 Upgrade:

 

 Keeping your Mule versions up-to-date is vital for leveraging the full potential of your integration platform. Regular upgrades grant you access to the latest features, enhancements, and fixes, bolstering your system's performance and security. Stay compatible, reduce risks, and maintain a robust integration environment with MuleSoft.

Numéro d’article de la base de connaissances

002139151

 
Chargement
Salesforce Help | Article