(:

webgarbage.de

Two things you really want to do when using Netbeans on a Mac

Back when I was coding with Ruby I mostly used Netbeans. It is a very nice IDE with lots of useful features. Code completion, VCS support, script debugging, aso. But the support for Python wasn't very good. This changed around Version. 6.7 of Netbeans and there is an "Early Access" version out with Python support.

But there a two things you really want to change if you use Netbeans on a Mac.

  1. UTF-8 as default charset
  2. Using Java 1.6 instead of 1.5 for running Netbeans

Both of this can be changed in the netbeans.conf, which can be found in your app package. So open the shell and change to /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/etc

There you will find "netbeans_default_options" and "netbeans_jdkhome". To "netbeans_default_options" you will have to add the parameter "-J-Dfile.encoding=UTF-8" (without quote). And "netbeans_jdkhome" needs this path as parameter: "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/" (with quote).

Now you only need to restart Netbeans. Have fun coding!

posted by Jochen Breuer, 2009 July 06

Related tags: coding, mac, netbeans, python

 

Valid XHTML 1.0 Transitional