There are only gcj and icedtea java in Fedora repository, but I need JDK from Sun, IBM, BEA installed. What I've done was to download rpm packages and install them. Then I added these JDKs to the alternatives by running sudo /usr/sbin/alternatives -install /usr/bin/java java /usr/java/jdk1.5.0_15/bin/java 3 Then by running sudo /usr/bin/alternatives -config java I configured the defaut JDK [...]