Wednesday, December 13, 2006

JDK 6 released

JDK 6 was released two days ago but i never had to time to blog about it. Unforchantly no deb is provided by sun and java-package 0.27 (the current stable release of java-package) does not support jdk 6. java-package is software that helps package java for debian based systems. I at first just did a "hack install" by extracting the .bin provided by Sun and then copying it to /usr/lib/jvm/java-1.6.0.00 and then making a symbolic link to it in the same directory named java-1.6.0-sun (Note: i was just following convention). Then i edited /etc/jvm and added /usr/lib/jvm/java-1.6.0-sun. Then i went and edited my netbeans.conf file (located at /opt/Sun/netbeans-5.5/etc) and changed the jdk home to jdk 6. I Started netbeans up and was impressed by the speed improvements but not with the interface. I was expecting GTK LAF right out of the box. But after a little searching i found how to get it working. Add --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel to you netbeans.conf startup arguments. I found that the tabs looked ugly so i found that Ramon Ramos had a nbm that fixed this. Get it here. Here is what netbeans looks like with GTK LAF the Human theme and the gtk nbm by Ramon:
As you can see the only UI errors are in the right corner of netbeans. Just a little problem which i'm sure will be fixed for Netbeans 6.0 (which is looking sooo awesome btw...i need to try the latest milestone out and when i do i will report back with screen shots and my analysis.

No comments: