setAgentJavaHome#
Set the configure JAVA_HOME of an agent
This command requests the agent set JAVA_HOME, but does not wait for or report the result. The new JAVA_HOME will not take effect until the agent is restarted.
Format#
udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md) [\[global-flags...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md)
setAgentJavaHome [parameters]
Parameters#
Parameter | Type | Required | Description |
---|---|---|---|
agent | string | true | Name or ID of the agent |
javahome | string | true | Name of managed java install or absolute path of a valid JAVA_HOME directory |
Related REST command: Set the configure JAVA_HOME of an agent.
Parent topic: CLI Commands