-
4.9.x (LTS) and later
-
4.8.x
-
4.6.x (LTS)
Troubleshooting Issues with Mule Runtime and Java
The modules in your project can have compatibility issues with Java or Mule runtime.
If you change the Java or Mule runtime versions in your project, consider these facts:
-
Mule runtime 4.4 and earlier works with Java 8 and 11.
-
Mule runtime 4.6 works with Java 8, 11, and 17.
-
Standard support for Java 8 and 11 ends in March 2025 for Mule 4.8 Edge and August 2025 for 4.6 LTS, so plan your upgrade path for apps that are running on Java 8 or 11 accordingly.
-
Mule runtime 4.9 LTS and Edge run and compile only on Java 17. To use Mule 4.9, upgrade your apps to run on Java 17.
Mule Runtime and Java Compatibility in Studio
This table shows the compatibility between Mule runtime and Java versions in Studio:
Studio Version | Mule Runtime Version | Java 8 | Java 11 | Java 17 |
---|---|---|---|---|
7.21 and later |
No |
No |
Yes |
|
7.20 |
|
Yes |
Yes |
Yes |
|
Yes |
Yes |
No |
See the Studio release notes for the latest information about compatibility.
When you create a project, Studio uses its default JRE. When you select a module, Studio displays the latest version of the modules compatible with your JRE and Mule runtime.
If you select a different JRE for your project and don’t update your module to a compatible version, your project fails at deployment.
To avoid deployment errors, you must select a JRE that is compatible with the current Mule runtime used in Studio. If needed, update your modules to select a compatible version.