---
schema_version: "1"
id: 3b05661587ec705c54ece74c8a36271ec291df4e9d0702824cdb7ee62f51a8bb
title: Troubleshoot Java and Mule Runtime Compatibility Issues
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/studio/compatibility-issues-runtime-java.md
canonical_url: https://docs.mulesoft.com/studio/compatibility-issues-runtime-java
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 8ad3a2c8e4831ed1b871d54d0a47c21645d4e377904793659d105dd68d1762dd
description: MuleSoft Documentation Site
latest: true
---
---
product: Studio
---

# Troubleshoot Java and Mule Runtime Compatibility Issues

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Modules in your Mule project can have compatibility issues with the Java version or Mule runtime
version that Studio uses. Select a compatible JRE or update your modules to avoid deployment errors.

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.

- Studio 7.21 and later builds and runs projects on Java 17 by default. To use Mule 4.9 and later,
  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:

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Studio Version</th><th>Mule Runtime Version</th><th>Java 8</th><th>Java 11</th><th>Java 17</th></tr></thead><tbody><tr><td><p>7.22 and later</p></td><td><div><div><ul><li><p>4.13.x</p></li><li><p>4.12.x</p></li><li><p>4.11.x</p></li><li><p>4.10.x</p></li><li><p>4.9.x (LTS) and later</p></li><li><p>4.8.x</p></li><li><p>4.6.x (LTS)</p></li></ul></div></div></td><td><p>No</p></td><td><p>No</p></td><td><p>Yes</p></td></tr><tr><td rowspan="4"><p>7.20</p></td><td><div><div><ul><li><p>4.8.x</p></li><li><p>4.6.x (LTS)</p></li></ul></div></div></td><td><p>Yes</p></td><td><p>Yes</p></td><td><p>Yes</p></td></tr><tr><td><div><div><ul><li><p>4.4.x</p></li></ul></div></div></td><td><p>Yes</p></td><td><p>Yes</p></td><td><p>No</p></td></tr></tbody></table>

See the [Studio release notes](https://docs.mulesoft.com/studio/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](https://docs.mulesoft.com/studio/change-jdk-config-in-projects) that is
compatible with the current Mule runtime used in Studio. If needed,
[update your modules](https://docs.mulesoft.com/studio/update-modules) to select a compatible version.

## See Also

- [Java Support](https://docs.mulesoft.com/general/java-support)
