EDAS provides Java 7 and Java 8. Java 7 is used by default. You can select the Java version when installing EDAS Agent. Run the following command to select the Java version:
install.sh -ak
For example, JDK 7 is specified in the following command:
wget -q -O /root/install.sh http://edas-sh.oss-cn-shanghai-internal.aliyuncs.com/install.sh && sh /root/install.sh -ak "Your AK" -sk "Your SK" -t install.nonce.at.1499069083770 -Java 7
For example, JDK 8 is specified in the following command:
wget -q -O /root/install.sh http://edas-sh.oss-cn-shanghai-internal.aliyuncs.com/install.sh && sh /root/install.sh -ak "Your AK" -sk "Your SK" -t install.nonce.at.1499069083770 -Java 8