The ebuilds for sun-jdk 1.4.x are missing the use flags for X and alsa in the IUSE variable. (Therefore they are not displayed during an emerge sun-jdk -pv)
Sorry about this. Fixed.