Managing Java packages on an agent
You can upload, install, and manage Java packages on compact agent using the web UI.
Before you begin
Important:
- The agents support Java 11 and earlier versions.
- You can upload and manage Java only on the operating systems that have compact agents. Agents on operating systems like z/OS cannot manage Java.
- Deploy does not support native operating package formats or package installation tools.
- The compatible file extensions are .zip, .tar, .tar.gz, .tgz, .tar.bz2, and .tbz2.
- Newer IBM Java packages might have operating system prerequisites, such as installing updated system C++ runtime libraries. Deploy does not support installing such prerequisites.
About this task
You must upgrade Java when you have unsupported Java versions on your agents.
HCL DevOps Deploy (Deploy) identifies which agents must have an updated Java version or patches applied, and detemines that status by using the real-time status of the connected agents. Java packages can be uploaded and then applied on different devices and architectures in your environment.
Procedure
-
Upload the required Java package.
-
Install the uploaded Java package on an agent.
-
Go to the Agents page and set JAVA_HOME on the agent by
selecting the Set Java Home menu option.
This location must be an absolute path, which is accessible to the agent.
The agent restarts and runs with your new Java version.
Results
What to do next
- See all Java versions installed for that agent from the agent's Metadata page.
- Remove unsupported Java package versions from the Uninstall Java Package menu option.