The JDK RPMs and binaries provided by Sun and IBM do not provide exactly what is desired for this purpose, so there is a need for reshaping those JDK when it is possible (rebuilding the -nosrc RPMs) or using compatibility packages (using the -compat RPMs).