Skip to content
DocsTry Aspire
DocsTry

addJavaApp

Method
📦 CommunityToolkit.Aspire.Hosting.Java v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addJavaApp(
name: string,
workingDirectory: string): JavaAppExecutableResource;
}

Signature

methodaddJavaAppbuilder
Adds a Java application to the application model. Executes the executable Java app.
addJavaApp(
name: string,
workingDirectory: string): JavaAppExecutableResource
namestring
workingDirectorystring
JavaAppExecutableResource

Applies to

This method applies to the following types: