---
schema_version: "1"
id: 2ec97be37d38a742427ff13357ecf544ffe3384ccf10f163e72e0cdef2f51665
title: Adding Compatible Java Versions for Assets Using the Maven Client
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/private-cloud/4.0/adding-compatible-java-versions-using-the-maven-client.md
canonical_url: https://docs.mulesoft.com/private-cloud/4.0/adding-compatible-java-versions-using-the-maven-client
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 028b8140160a6905c5674d1a9b11d8178a8ac2c33284ba048bcb600a2b4da152
description: MuleSoft Documentation Site
release: "4.0"
latest: false
---
---
product: Anypoint Platform Private Cloud Edition
version: 4.0
---

# Adding Compatible Java Versions for Assets Using the Maven Client

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

Add the compatible Java versions of assets for Anypoint Platform Private Cloud Edition (Anypoint
Platform PCE) using the Maven Facade API (v1 and v2). The Java versions display in the Exchange UI,
Exchange API, and GraphQL console for Anypoint Platform PCE environments. Only Java 8, 11, and 17
are supported.

To add the Java version compatibility, in the POM file, add the properties section and set each Java
version to either true or false.

This example snippet shows the properties section:

```xml
<properties>
   <type>app</type>
   <tags>connector, mulesoft</tags>
   <isJava8Supported>false</isJava8Supported>
   <isJava11Supported>true</isJava11Supported>
   <isJava17Supported>true</isJava17Supported>
</properties>
```

In the example, Java 8 is set to `false`. Only version 11 and 17 appear for the asset version in the
Exchange UI, Exchange API, and the GraphQL console.

## See Also

- [Managing Anypoint Platform PCE](https://docs.mulesoft.com/private-cloud/4.0/operating-about)
