I've installed java using yum. The following were installed:

java-1.5.0-gcj i386 1.5.0.0-17.fc8 fedora 119 k
java_cup i386 1:0.10-0.k.6jpp.1 ...