Dear All,
I have two machines where below is the steps I did to install java. The funny part when I run javac -version one machine is showing me javac 1.6.0_22 and another showing me 1.7.0_03. What could be the problem here?
Code:
rpm -Uvh /usr/local/jdk-7u3-linux-x64.rpm
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 20000
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 20000
alternatives --config java