Java环境设置

  sre

java –version
如果出现openjdk,最好还是先卸载掉openjdk,在安装sun公司的jdk.
rpm -qa|grep java

rpm -e –nodeps libguestfs-java-1.20.11-14.el6.x86_64 tzdata-java-2015f-1.el6.noarch java-1.7.0-openjdk-1.7.0.85-2.6.1.3.el6_7.x86_64 java-1.8.0-openjdk-1.8.0.51-3.b16.el6_7.x86_64 java-1.8.0-openjdk-headless-1.8.0.51-3.b16.el6_7.x86_64

安装oracle的java

LEAVE A COMMENT

Captcha Code