Change Java Version…
May 19th, 2008
To change the Java version you’re currently using under Fedora 8 (and maybe other distros) run the following command as a root user. Take note: this command is in /usr/sbin/, so just running it through su may not work.
update-alternatives –config java