# 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:

  1. When provided, the yc-360 script detects and captures artifacts from applications of the specified runtime.
  2. When omitted, the script assumes Java and captures artifacts from Java applications.
  3. 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