{
  "name": "java",
  "description": "Launch a Java application",
  "options": [
    {
      "names": [
        "-jar"
      ],
      "description": "To launch the main class in a JAR file",
      "takes_arg": true,
      "arg": {
        "name": "JAR file"
      }
    },
    {
      "names": [
        "-D"
      ],
      "description": "Set a system property, -D<NAME>=<VALUE>"
    },
    {
      "names": [
        "--help",
        "-h",
        "-?"
      ],
      "description": "Show help for java"
    },
    {
      "names": [
        "--version",
        "-version"
      ],
      "description": "Print product version to the error stream and exit"
    },
    {
      "names": [
        "-showversion",
        "--show-version"
      ],
      "description": "Print product version to the output stream and continue"
    },
    {
      "names": [
        "--dry-run"
      ],
      "description": "Create VM and load main class but do not execute main method"
    },
    {
      "names": [
        "--classpath",
        "-cp"
      ],
      "description": "Class search path of directories and zip/jar files",
      "takes_arg": true,
      "arg": {
        "name": "search files",
        "template": "filepaths"
      }
    }
  ],
  "args": [
    {
      "name": "mainclass",
      "description": "To launch a class file"
    }
  ]
}
