All Products
Search
Document Center

Enterprise Distributed Application Service:What do I do if the original Java environment is uninstalled when I install EDAS Agent?

Last Updated:Jan 04, 2024

When you install Enterprise Distributed Application Service (EDAS) Agent, you must also install dependencies such as JDK. EDAS supports JDK 1.7 and JDK 1.8. By default, JDK 1.7 is installed. You can install different versions of JDKs based on your business requirements.

  • If you specify -java 7 in your installation commands, JDK 1.7 is installed.

  • If you specify -java 8 in your installation commands, JDK 1.8 is installed.

  1. The first time you install EDAS Agent, both JDK 1.7 and JDK 1.8 are downloaded and initialized. If the JDK of a specific version that you want to use is already installed on your instance, you do not need to reinstall the JDK. If the version of the existing JDK differs from the version that you want to install, the existing JDK is uninstalled, and a new version is downloaded and installed.

  2. The next time you run the install.sh script to perform an upgrade, the following situations may occur:

    • If you add the -force option when you run the script, all components including JDK are uninstalled and then reinstalled.

    • If you do not add the -force option when you run the script, only EDAS Agent is reinstalled by default. If you specify different values for the -java option, the following situations may occur:

      • If the specified version of JDK is consistent with that of the existing JDK, the JDK is not reinstalled.

      • If the specified version of JDK is inconsistent with that of the existing JDK, the existing JDK is uninstalled before the JDK of the specified version is downloaded and installed.