edit-icon download-icon

Java is uninstalled during the installation of EDAS Agent.

Last Updated: Jan 17, 2018

Question: Why is the original Java uninstalled when I install EDAS Agent?

Answer: When you install EDAS Agent, in addition to Agent required by the EDAS runtime environment, the dependent environment must be installed, for example, JDK. Because EDAS currently supports JDK 1.7 and JDK 1.8, two command options are provided during EDAS Agent installation. If you select -java 7, JDK 1.7 is installed; if you select-java 8, JDK 1.8 is installed. JDK 1.7 is installed by default.

When EDAS Agent is installed for the first time, all files are downloaded and initialized. If the ECS instance where JDK is to be installed has been installed with JDK of the specified version, JDK is not installed again. Otherwise, the system uninstalls the original JDK and downloads and installs the specified JDK version.

The subsequent upgrade process (second execution of the install.sh script) has the following situations:

  • If the -force option is added to execution parameters, all components including JDK are uninstalled and re-installed.
  • If -force option is not added to execution parameters, only EDAS Agent components are re-installed by default. However, the -java option for JDK is processed in either of the following ways:

    • If the specified JDK version is the same as the version of the original JDK, no operation is performed.
    • If the specified JDK version is different from the version of the original JDK, the system uninstalls the original JDK and downloads and installs the specified version.
Thank you! We've received your feedback.