share something that don't now before, don't know, search and share it
share something that don't now before, don't know, search and share it
Home Unlabelled How to install oracle java 7.0.80 centos 7 from tar.gz
cd /opt/jdk1.8.0_171/ alternatives --install /usr/bin/java java /opt/jdk1.8.0_171/bin/java 2 alternatives --config java There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- * 1 /opt/jdk1.7.0_71/bin/java + 2 /opt/jdk1.8.0_45/bin/java 3 /opt/jdk1.8.0_144/bin/java 4 /opt/jdk1.8.0_171/bin/java Enter to keep the current selection[+], or type selection number:4
alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_171/bin/jar 2alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_171/bin/javac 2alternatives --set jar /opt/jdk1.8.0_171/bin/jaralternatives --set javac /opt/jdk1.8.0_171/bin/javac
java -version java version " 1.8.0_171 " Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Tidak ada komentar :
Posting Komentar