How To Run NetBeans 7.1 On JDK 1.7 Mac OS X Port Developer Preview

  1. Install NetBeans:-)
  2. Install JDK 1.7 Mac OS X Port Developer Preview
  3. Open: /Applications/NetBeans/NetBeans\
  4. Change netbeans_jdkhome="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home"

NetBeans works well so far, with minor visual glitches (e.g. anti-aliasing seems not to be implemented yet).


It might be better to set


so that it honors your System-wide Java Preferences. Or, while still following this recommended practice, use

netbeans_jdkhome=`/usr/libexec/java_home -v1.7`

Also, I found NB to be quite unstable with jdk 1.7. Just my 2¢.

Posted by Ted Rust on March 14, 2012 at 02:34 AM CET #

I try both of them but only this one works for me
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home"

Thanks Mr. Bien!
PS: by the way ... any book on the oven?

Posted by Esteban Vargas on April 11, 2012 at 07:23 AM CEST #

How to get rid of the java menu in the menubar? Is that a bug?

Posted by Warren on March 22, 2013 at 03:32 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments