🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
1. install jdk 1.1 unzip tar xzvf jdk-8u144-linux-x64.tar.gz after unzip:jdk1.8.0_144 1.2 set up jdk environment update /etc/profile, add the following three lines: export JAVA_HOME=/home/feiyy/jdk1.8.0_144 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$JAVA_HOME/bin:$PATH 1.3 make change to take effect source /etc/profile now, the jdk is already installed. 1.4 check if installation is successfull, java -version 使用rpm方式安装jdk [https://blog.csdn.net/fansenjun/article/details/82256528](https://blog.csdn.net/fansenjun/article/details/82256528)