java 1.6 installation on linux

i've had a hard time to install JAVA on my SUSE linux computer.

I had a JAVA-1.4.2. I want to install jAVA 1.6. So I download java 1.6 from sun's website. and do the installation following the instrruction. however, after installation, when i try to verify the installation, it still shows me that i am using the older version (1.4.2).

when i checked my system, the java-1.6 is there, but saying that it is not installed. i have discussed the problem with other linux users with no clue. did anyone here have any suggestion?

[545 byte] By [littlewenwena] at [2007-11-27 11:35:19]
# 1

maybe discuss it with Linux users who do have a clue?

What about for example setting up your system environment correctly?

jwentinga at 2007-7-29 17:02:09 > top of Java-index,Java Essentials,New To Java...
# 2

Uninstall GNU Java, which is 1.4.2, from your system. You should tweak /etc/alternatives entries for java. See:

man alternatives

--

Installing Sun's Java on SUSE Linux

http://en.opensuse.org/Java

Message was edited by:

hiwa

hiwaa at 2007-7-29 17:02:09 > top of Java-index,Java Essentials,New To Java...