Today I needed to install Sun Java SDK 1.6 on CentOS 5.3. Unfortunately, Sun Java does not appear to be packaged in CentOS. Instead, there are instructions at http://wiki.centos.org/HowTos/JavaOnCentOS on how to install Sun Java using a “helper” SRPM (source RPM) package from the JPackage Project. The latest generic JPackage SRPM is for 1.6 update 11 and it does not work for update 16 without minor modifications.
I created a new version for 1.6 update 16 by extracting the old version using rpm2cpio, modifying the spec file and recreating the SRPM using rpmbuild. I tested the package on 32-bit CentOS 5.3 and it worked without problems.
The SRPM for Sun Java 1.6 update 16 is available here. It works with the instructions mentioned in the url in the beginning of this posting.