????????????????jdk1.6.0_03 ????? /usr/java?????????ú?????????????
??????? # java -version ??????jdk1.4.3??????????linux????????jdk;
??????У?
????1.# cd /usr/bin
????# ln -s -f /usr/local/jdk1.6.0_01/jre/bin/java
????# ln -s -f /usr/local/jdk1.6.0_01/bin/javac
????2. Remove the old empty java environment
????# rm -f /usr/bin/java
????# rm -f /usr/bin/javac
????# rm -f /etc/alternatives/java
????# rm -f /etc/alternatives/javac??
????????????1???? /usr/bin?μ?java properties?????????????????????2????????У??????????? # java –version
????????????jdk?汾???????