---
schema_version: "1"
id: 2ec74e6351fc8b98269ed0aa6a993cf74de6a22e3c2ba5ba6f3b3f04b6888d59
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.2/adding-compatible-java-versions-using-the-maven-client.md
canonical_url: https://docs.mulesoft.com/private-cloud/4.2/adding-compatible-java-versions-using-the-maven-client
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e156c107029e89792744d7c59735121b7e2c9cb336c742864549b50bc5e2fc07
description: MuleSoft Documentation Site
release: "4.2"
latest: false
---
---
product: Anypoint Platform Private Cloud Edition
version: 4.2
---

# 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.2/operating-about)
