# appRuntime
Use this argument to specify the application runtime and capture artifacts. By default, the value is java, so you do not need to pass it for Java applications.
Type: string
Default: "java"
Supported runtimes
| Runtime | appRuntime value |
|---|---|
| Java | java (default) |
| .NET | dotnet |
| Node.js | nodejs |
Usage:
- Java applications: Omit this argument; the script assumes Java by default.
- Other runtimes (e.g., .NET): Pass the argument explicitly, for example:
-appRuntime=dotnet.
How it work internally:
- When provided, the yc-360 script detects and captures artifacts from applications of the specified runtime.
- When omitted, the script assumes Java and captures artifacts from Java applications.
- This argument must be passed as a CLI argument (e.g.,
-appRuntime=dotnet).
Example:(CLI)
Run yc.exe to start capture the artifacts from a CLI
.\yc -onlyCapture -p 22534 -appRuntime=dotnet
1
← appLogLineCount c →