Netbeans 6.5 + Ubuntu 8.10 LAF Bug
Posted by Roger Keays, 9 December 2008, 12:42 PM
This is how Netbeans 6.5 looked out of the box on Ubuntu 8.10 for me. The line spacing is screwed up.

The problem was Ubuntu had installed openjdk-6-jdk for me, but Netbeans must have only been tested with sun-java6-jdk. To fix this fire up your terminal and type:
$ sudo apt-get install sun-java6-jdk $ sudo rm /usr/lib/jvm/default-java $ sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.10/ /usr/lib/jvm/default-java
| << Things I Like | Back to Blog | Finally, An Understanding Of Value >> |
Comment posted by: Jason Lee on 9 December 2008, 11:52 PM
A more "correct" way, rather using rm and ln, would be to use the command alternatives. There's a GNOME version called galternatives, iirc. Either one gives you an interface of some sort for managing things like this. :)
Comment posted by: Roger Keays on 10 December 2008, 12:45 AM
Hey Jason, thanks for tip :) I've been through too many linux distros to remember how to do this stuff on each one!
Comment posted by: juun on 18 December 2008, 5:07 PM
when i try this above command netbeans does't install in my pc why ?
Comment posted by: Christopher Lauzière on 26 February 2009, 6:32 AM
That worked for me!
thx
Comment posted by: Pali on 28 February 2009, 5:38 AM
Thank's, great work!
Add a comment
Please visit http://www.ilikespam.com/blog/netbeans-6.5-ubuntu-8.10-laf-bug to add your comments.