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: application/json
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 true

Related CLI command: installAgentJava.