Install a Java package as a new managed Java installation

This command requests the agent install Java, but does not wait for or report the result. The returned maintenance task can be used to query the result.

Request

POST https://{hostname}:{port}
    /cli/agentCLIinstallJava?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
agent string true Name or ID of the agent
package string true Name or ID of the Java package
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: installAgentJava.