Set it in the variable PATH in $HOME/.bash_profile
Something like this.
Isn't the latest sun-java compiler available as part of suns JDK rpm? Also, why the version 5. I thought the latest
One final thing, your running rawhide? Your brave. Current stable version of fedora is 8.