Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withJvmArgs

Method
📦 Aspire.Hosting.Java v13.6.0-preview.1.26478.8
interface JavaAppResource {
// ... omitted for brevity
withJvmArgs(args: string[]): IJavaAppResource;
}

Signature

methodwithJvmArgsbuilder
Adds arguments to the Java Virtual Machine that runs the application.
withJvmArgs(args: string[]): IJavaAppResource
argsstring[]
IJavaAppResource

Applies to

This method applies to the following types: