Can't install jdk on Linux

I have the j2sdk1.4.0_04.rpm

When I have given the rpm command The message is

prepairing package to install.........

package j2sdk-1.4.2_04-fcs is already installed

Though I have uninstalled the package and reinstalled it the message continues.

Please tell me how should I install it

[320 byte] By [sachin.jambagia] at [2007-10-1 3:05:00]
# 1

It seems like you already have java with the same version in your linux machine. Have you figured it out before installing?

In case you have no idea to locate your java path, go to java console (open the terminal), then type:

which java

If the problem persist, try installing different java version.

Reed_Nukema at 2007-7-8 21:36:16 > top of Java-index,Administration Tools,Sun Connection...
# 2
If you are not comfortable with rpm's, you can choose the tar.gz (that is, non-rpm) version. I personally prefer this latter.
BIJ001a at 2007-7-8 21:36:16 > top of Java-index,Administration Tools,Sun Connection...