# JavaAppExecutableResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Java](/reference/api/csharp/communitytoolkit.aspire.hosting.java.md)
- Type: [JavaAppExecutableResource](/reference/api/csharp/communitytoolkit.aspire.hosting.java/javaappexecutableresource.md)
- Kind: `Properties`
- Members: `1`

A resource that represents a Java application.

## JarPath

- Name: `JarPath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Java/JavaAppExecutableResource.cs)

Gets or sets the path to the JAR file to execute.

```csharp
public string? JarPath { get; set; }
```
