Setup Oracle Java jre 1.7 on Centos 6.(1,2,3,4…)

Download the rpm file from java.com. Install using the rpm command: rpm -Uvh jre-7u17-linux-x64.rpm Use alternatives to config: # alternatives --config java There are 2 programs which provide 'java'. Selection Command ----------------------------------------------- * 1 /usr/java/latest/jre/bin/java + 2 /usr/java/jre1.7.0_17/bin/java Enter to keep the current selection, or type selection number: Select the java you want...

Scroll to top