That is because Fedora uses its own java package. You will have to tell it otherwise. Set up the jpackage.org repository and install the compat-package (documented on their site), then switch versions using the galternatives GUI (needs to be installed first) or the update-alternatives --config java set of commands. See google for further information.
Note: if you installed the sun .bin package rather than the rpm.bin one, you'll find all of this a lot harder to do. You may want to reinstall you sun java in that case.
Last edited by jay73; 07-23-2008 at 04:16 PM.