Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

Configure Studio to Use Your Own JDK

Anypoint Studio comes bundled with a Java development kit (JDK).

You can find the JDK version used by Studio under About Anypoint Studio > Installation Details.

To start Studio using a different JDK, follow the instructions based on your operating system:

Select the Appropriate Java and Mule Runtime Versions

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

  • 4.9.x (LTS) and later

  • 4.8.x

  • 4.6.x (LTS)

No

No

Yes

7.20

  • 4.8.x

  • 4.6.x (LTS)

Yes

Yes

Yes

  • 4.4.x

Yes

Yes

No

See the Studio release notes for the latest information about compatibility.

See Also