How to add fastdebug jdk build to the alternatives?

view full story

http://askubuntu.com – I installed fastdebug build of JDK 6 (Linux x64 version, since there is no Ubuntu specific build) in /usr/lib/jvm directory, manually set during installation process. Installation completed successfully (at least such a message was showed at the end). Now I have /usr/lib/jvm/jdk.1.6.0_25/fastdebug/bin folder. I ran this command to install (if it matters): sudo java -jar jdk-6u25-ea-bin-b03-linux-amd64-debug-27_feb_2011.jar When I run: sudo update-alternatives --config java I see all my JVMs (open jdk, sun, etc.) but there is no fastdebug build in the list to choose. I also ran (HowTos)