title: linux red hat enterprise linux
body: <p>I installed jdk1.6.0_16 on enterprise linux 4 and I also set teh JAVA_HOME in my ~/.bash_profile</p>
  
  <p>echo $JAVA_HOME correctly shows the new path of the java file </p>
  
  <p>export JAVA_HOME=/jdk16/jdk1.6.0_16/bin/java</p>
  
  <p>The bin directory is also int he path</p>
  
  <p>However when I do java -version I still see java version "1.4.2"</p>
  
  <p>How do I see newly installed jdk verion when i issue java -version command</p>