install_update_java
Use the install_update_java command to install or update IBM Java to perform call home operation.
Synopsis
install_update_java
Description
The install_update_java command is located in the location /opt/ibm/esa/bin/. The install_update_java command installs or upgrades IBM Java on the IBM Electronic Service Agent installed system to perform call home operation by ESA. The command searches whether IBM Java is already installed or not. If not, it searches in yum/zypper and try to installs. It then verifies the successful execution of the Java command and displays the message - Please restart ESA as IBM Java has been installed / upgraded.
Options
- --force
- This option must be supplied with rpmFilePath (https, http, ftp, localFilepath). It tries to upgrade IBM Java on the IBM Electronic Service Agent installed system by using the rpmFilePath even though IBM Java is installed.
Exit status
The following table contains the codes that are returned by this command.0
- The operation completed successfully.-1
- The operation failed4
- Incorrect combination or options provided.
Examples
-
./install_update_java
-
./install_update_java --force
-
./install_update_java java-1.8.0-ibm.ppc.rpm
-
./install_update_java --force java-1.8.0-ibm.ppc.rpm
-
./install_update_java http://hostname:portNo/java-1.8.0-ibm.ppc.rpm
-
./install_update_java ftpurl
-
./install_update_java httpsurl