Java Parameters
This page describes general parameters for Java-based runners. For other settings of an individual runner, refer to the following pages:
Ant Maven Gradle Duplicates Finder (Java) Inspections (IntelliJ IDEA) IntelliJ IDEA Project
Java Parameters
Option | Description |
---|---|
JDK | Select a JDK. This section details the available options. The default is JAVA_HOME environment variable or the agent's own Java. |
JDK home path | The option is available when <Custom> is selected above. Use this field to specify the path to your custom JDK used to run the build. If the field is left blank, the path to JDK Home is read either from the JAVA_HOME environment variable on agent the computer, or from the env.JAVA_HOME property specified in thebuild agent configuration file (buildAgent.properties). If these values are not specified, TeamCity uses the Java home of the build agent process itself. |
JVM command line parameters | You can specify such JVM command line parameters, e.g. maximum heap size or parameters enabling remote debugging. These values are passed by the JVM used to run your build. Example: -Xmx512m -Xms256m
|