2020
09-27
09-27
Centos中yum方式安装java的实现示例
查看CentOS自带JDK是否已安装[root@test~]#yumlistinstalled|grepjava若有自带安装的JDK,应如下操作进行卸载CentOS系统自带Java环境[root@test~]#java-versionjavaversion"1.7.0_181"OpenJDKRuntimeEnvironment(rhel-2.6.14.8.el6_9-x86_64u181-b00)OpenJDK64-BitServerVM(build24.181-b00,mixedmode)[root@test~]#yum-yremovejava-1.7.0-openjdk*[root@test~]#yum-yremovetzdata-java.noarch[...
继续阅读 >