Netbeans 6.8 didn't survive Ubuntu upgrade
Well, actually, Netbeans did, sun-java6-bin didn’t. I could no longer start Netbeans after my upgrade from Ubuntu 9.10 to 10.04, because of the following error message. You can see that by trying to start Netbeans from terminal: Cannot find java. Please use the –jdkhome switch. It turns out that java went missing, must’ve missed it when the upgrade started. I’ve tried simply reinstalling sun-java6-bin, but that didn’t really work either: it appears that no longer exists. After a while, I found out I had to the following:
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
After that, Netbeans works like a charm, just like it did under Ubuntu 9.10. Hope this might help anyone.