如何修改和验证upjdk安装?
更新时间:2020-05-27 15:00:00
问题详情:

如何修改和验证upjdk安装?

解答详情:

step 1. 安装upjdk 与oracle jdk一样,例如 安装upjdk-1.0.0.x86_64.tar.gz


cd <Install_Path>

tar -xvf upjdk-1.0.0.x86_64.tar.gz

export JAVA_HOME=<Install_Path>/upjdk-1.0.0

export PATH=${JAVA_HOME}/bin:$PATH

export CLASSPATH=.:${JAVA_HOME}/lib



step 2. 验证按照是否成功


java -version

UPJdk version "1.0.0"

openjdk version "1.8.0_242"

OpenJDK Runtime Environment (UNIONPAY JDK 8.0.0) (build 1.8.0_242-b01)

OpenJDK 64-Bit Server VM (UNIONPAY JDK 8.0.0) (build 25.242-b01, mixed mode)


咨询服务