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

Parameter Type Required Description
agent string true Name or ID of the agent
package string true Name or ID of the Java package
Parameter Type Required Description
Accept application/json true  

Related CLI command: installAgentJava.

Parent topic: agentCLI resource