withJvmArgs
Method
interface ContainerResource { // ... omitted for brevity withJvmArgs(args: string[]): IResourceWithEnvironment;}Signature
method
withJvmArgs builder Configures the Java Virtual Machine arguments for the Java application. The arguments are set via the `JAVA_TOOL_OPTIONS` environment variable, which is recognized by the JVM regardless of how the application is launched (e.g., `java -jar`, Maven wrapper, or Gradle wrapper).
withJvmArgs(args: string[]): IResourceWithEnvironmentParameters
args string[] Returns
IResourceWithEnvironment Applies to
This method applies to the following types: