David Kaplowitz on 22 Apr 2005 15:29:35 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carl Husa wrote: > >$JAVA_HOME is set to /usr/java/jdk1.5.0_02 (in profile) > >echo $CATALINA_HOME and echo $JAVA_HOME both report the correct paths, as set >in profile. > >If I type > java -version > >I get the following message > java version "1.4.2_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) > >So, I downloaded 1.5, and installed it to > /usr/java/jdk1.5.0_02 > >java -version still gives the same version as before. > > >Rebooted, but java -version still reports 1.4.2_06 So, my guess is "which java" will be the path to the 1.4 JDK and that is also installed and is showing up somewhere before /usr/java/jdk1.5.0_02 in your shell's path. All you need to do is put /usr/java/jdk1.5.0_02 ahead of the other in your path, or remove the other from your path entirely. Dave - -- David Kaplowitz UNIT Unix Systems group Villanova University 610-519-6896 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCaRhZ0nMoCk4O+jkRAnR1AJ9Ethll2AO9nRVgBInv7RdYC2qUcQCfS0+e 3N23AHI9wyCF7gxytqUCKUM= =WFSU -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|