NoMachine and Netbeans
21 Nov
NoMachine offers a fantastic remote desktop product. If you need to perform serious work remotely, this is the best option I’ve found.
Unfortunately, I’ve been bitten by this bug that corrupted text while using Netbeans. Emacs worked fine, so I’ve been happily hacking away for some months. But the siren call of Java 6u10 finally drew me in and I had to find a work around. They don’t seem to have a forum or mailing list that I could find so I’m posting this here.
Simply add this to your ~/netbeans-6.*/etc/netbeans.conf:
-J-Dsun.java2d.pmoffscreen=false
The reference page was helpful. This option disables offscreen pixmaps.
Worked like a charm. Have a multi-user install of netbeans, used locate to find the global netbeans.conf file. To get it to work I had to append the option to the end of the default command line options line:
netbeans_default_options=” … -J-Dsun.java2d.pmoffscreen=false”
Thanks!
Very useful information
Thanks!
In case others find it helpful, I also add the option:
-J-Dswing.aatext=false
The anti aliased fonts give me a headache after a while. :-)
Thanks for this. It really helped me out!