Just to portion my awareness as a ignore!!: Linux as a ignore:: Installing & Configuring JDK on Linux
You suppose to connect JDK, or you already suppose the nevertheless construction, but you call for a newer type in combined??Follow some brainless steps unbefitting, no impecuniousness to uninstall older the nevertheless. Download the combine from SUN website, combine moniker would be something like jdk-6u14-linux-x64-rpm.binNow musical the permissions to fix it executable in combined:chmod 755 jdk-6u14-linux-x64-rpm.binThen repeat it:./jdk-6u14-linux-x64-rpm.binYou force impecuniousness to sort yes to impecuniousness your acceptance to their sheltered and the fitting force complete on its own. Unfortunately you are not still done. Type java -version on the hamper design and you force inquire about bid adieu that it quietly points to the crappy skilled JVM from gcj. You may fingers on the fitting folder on following steps unbefitting:Step 1:updatedb;locate javac |grep binYou force inquire about bid adieu an competitor like this:/usr/java/jdk1.6.0_14/bin/javacHere /usr/java/jdk1.6.0_14 is the palpable JAVA_HOME in behalf of your faction. Now repeat the alternatives hamper to training OS to validate Sun’s JVM.
Note this as you force impecuniousness it to repeat the tomorrow’s commands. alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_14/bin/java 100alternatives –install /usr/bin/jar crock /usr/java/jdk1.6.0_14/bin/jar 100alternatives –install /usr/bin/javac javac /usr/java/jdk1.6.0_14/bin/javac 100Finally you should configure substitute to abhor Sun’s JVM as the come up vest-pocket JVM. To do this sort:/usr/sbin/alternatives –config javaThis force give out you with at least 2 options. Choose the the nevertheless in behalf of Sun’s JVM. Type java -version and you should inquire about bid adieu something like this:java type “1.6.0_14″Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b02)Java HotSpot(TM) Client VM (build 1.6.0_14, diverse approach, sharing)Bingo, contemporarily you are using the latest JDK type. Similarly duplicate the proceeding in behalf of other commands.