title: java version still showing as 1.4 linux
body: <p>java -version still returns old java version. I have red hat linux </p>
  
  <p>I installed jdk 1.5 int eh follwing path and updated the bask profile and did a source but still the java version shows 1.4</p>
  
  <p>JAVA_HOME=/usr/local/jdk/jdk1.5.0_10/bin/java
  PATH has /usr/local/jdk/jdk1.5.0_10/bin</p>
  
  <p>but i still see java -version even from the bin directory /usr/local/jdk/jdk1.5.0_10/bin as follows</p>
  
  <h1>java -version</h1>
  
  <p>java version "1.4.2"
  gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10.0.1)
  Copyright (C) 2006 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>