Java Redhat 9 RH9 installation problem
843804Sep 7 2003 — edited Sep 28 2003I have installed Java version "1.4.2_01" byt when I run:
java -version
I get the following which is not the java I installed but the Java theat came under Free license eith RH9.
-----------
[root@sriradha etc]# java -version
java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 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.
[root@sriradha etc]#
------------
Now if I go to the directory where the java bin is {JAVA_HOME}/bin then enter
java -version
I get:
------------
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
------------
Can anyone help me to remove this old java freebie and then set the environment variables so that java works for any user logged in.
thanks
Naresh