jvm
Options for general JVM functionality.
Backend: ``
Config section: [jvm]
Basic options
debug_args
--jvm-debug-args="['<str>', '<str>', ...]"PANTS_JVM_DEBUG_ARGS[jvm]
debug_args = [
'<str>',
'<str>',
...,
]
[]Extra JVM arguments to use when running tests in debug mode.
For example, if you want to attach a remote debugger, use something like ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005']
default_resolve
--jvm-default-resolve=<str>PANTS_JVM_DEFAULT_RESOLVE[jvm]
default_resolve = <str>
jvm-defaultThe default value used for the resolve and compatible_resolves fields.
The name must be defined as a resolve in [jvm].resolves.
resolves
--jvm-resolves="{'key1': val1, 'key2': val2, ...}"PANTS_JVM_RESOLVES[jvm.resolves]
key1 = val1
key2 = val2
...
{
"jvm-default": "3rdparty/jvm/default.lock"
}A dictionary mapping resolve names to the path of their lockfile.
Advanced options
jdk
--jvm-jdk=<str>PANTS_JVM_JDK[jvm]
jdk = <str>
adopt:1.11The JDK to use.
This string will be passed directly to Coursier's --jvm parameter. Run cs java --available to see a list of available JVM versions on your platform.
If the string 'system' is passed, Coursier's --system-jvm option will be used instead, but note that this can lead to inconsistent behavior since the JVM version will be whatever happens to be found first on the system's PATH.
Deprecated options
None
Related subsystems
None