Java Version Problem
I have java version 1.4.2 on my Redhat Linux. I installed jdk-1_5_0_22-linux-i586-rpm.bin version. It also installed successfully on /usr/java folder. Now for the command java -version in the terminal it is displaying:
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)
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.
I need to work on jdk-1_5_0_22 version. Please help.
modify the links in the /usr/bin directory to point to the proper commands, or insert the proper bin directories into the PATH (not CLASSPATH) before /usr/bin.