Artifactory is a Java-based product that requires JDK 21 or higher to run.
Distribution is a Java-based product that requires JDK 17 or higher to run.
JDK is already bundled into the applications.
From Artifactory 7.104.x, the supported JDK version is JDK 21.
Form Distribution 2.13.x to 2.28.x, the supported version is JDK 17. From Distribution 2.29.x, the supported version is JDK 21.
JDK 11 is no longer supported.
JVM Memory Allocation
While not a strict requirement, we recommend that you modify the JVM memory parameters used to run Artifactory.
You should reserve at least 512MB for Artifactory. The larger your repository or number of concurrent users, the larger you need to make the -Xms
and -Xmx
values accordingly.
Set your JVM parameters in the system.yaml configuration file.
The following snippet shows an example of the update required in the system.yaml
file.
shared: extraJavaOpts: "-Xms512m -Xmx2g"