First of all: For a JDK, i'd always choose a .tar.gz package instead of a .rpm one. Why ? Because it will only install a directory tree which you can erase and replace by another, so you should bother about dependencies.
BUT, looks like you're installing Sun,'s one instead of Blackdown's (or viceversa). Please read:
There are 4 java JRE you can/should use with linux: (these apply to J2SDK also.)
- 1.3.1_01 and 1.4.1_01 from java.sun.com
- 1.3.1_01 and 1.4.1_01 from www.blackdown.org
They are built with different tools, so, you should try these four, because based on which linux distro you use, your "glibc" is different, and the JRE's depend directly on those "glibc" and tools (gcc- compiler).
I.e.: For Mandrake 9.1 and RedHat 7.3, I use 1.4.1_01 from www.blackdown.org,
but I think RedHat 8 uses the one from Sun (don't remember...)