CentOS 8 安装jdk8

上传jdk-8u231-linux-x64.rpm到指定目录,然后在该目录下执行 yum install jdk-8u231-linux-x64.rpm 即可,不用再手动添加环境变量

Last updated