setting java home linux centos 6.6

alternatives config java

 

  Selection    Command
   1           /usr/java/jdk1.6.0_26/jre/bin/java
   2           /usr/lib/jvm/jre1.6.0openjdk/bin/java
   3           /usr/java/jdk1.7.0_55/jre/bin/java
*+ 4           /usr/java/jdk1.8.0_25/jre/bin/java
press 3
copy path from list above

Leave a Reply