Tuesday, March 22, 2016

CentOS Yum downgrade Java from 1.8 to 1.7

[root@statsfeeder]# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)

[root@statsfeeder]#  sudo update-alternatives --config java
There is 2 program that provides 'java'.
  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/jre/bin/java
   2           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95-2.6.4.0.el7_2.x86_64/jre/bin/java
Enter to keep the current selection[+], or type selection number: 2


[root@statsfeeder]# java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (rhel-2.6.4.0.el7_2-x86_64 u95-b00)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
[root@lap001p statsfeeder]#

1 comment:

  1. Can I keep the cashback? - ARAMING Exchange
    I do have a $50 no deposit 실시간배당 bonus. That's 온카판 the deal 벳 페어 with my bet365 account and I don't mind any fees. I did the registration but I 블랙 잭 만화 have to make aramexchangeb.com some

    ReplyDelete