SQL Zone is brought to you in partnership with:

Fabrizio Giudici is a Senior Java Architect with a long Java experience in the industrial field. He runs Tidalwave, his own consultancy company, and has contributed to Java success stories in a number of fields, including Formula One. Fabrizio often appears as a speaker at international Java conferences such as JavaOne and Devoxx and is member of JUG Milano and the NetBeans Dream Team. Fabrizio is a DZone MVB and is not an employee of DZone and has posted 67 posts at DZone. You can read more from them at their website. View Full User Profile

First Smoke Test: NetBeans IDE 7.1.2 & Oracle JDK 7u4 for Mac OS X

05.07.2012
| 8157 views |
  • submit to reddit

In case you didn't notice it, Oracle has released the first JDK 7 for Mac OS X made under its own responsibility. This is a historic milestone as in the past decade Apple did the whole job of porting, after some previous poor attempts by Sun. Unfortunately, Apple's work became unsatisfactory too, at least in some respects like constant delays or missing security patches such as those that shed some bad light on Java.

Thus I welcome Oracle's effort to directly provide a JDK for all the major operating systems.

I just installed JDK 7u4 for Mac OS X and tried a first smoke test with NetBeans IDE 7.1.2. For these purposes, it was enough to set this property in "netbeans.conf":

netbeans_jdkhome="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/"

Some previous attempts with early access builds over the past month ended with a few show stoppers, mainly in the integration with the Mac OS X menu bar and other graphic amenities.

With JDK 7u4, there have been no major problems after twenty minutes of use and compiling a few Maven projects: only an internal error that doesn't seem to affect usability (see http://statistics.netbeans.org/analytics/exception.do?id=577424) and a minor rendering issue on the borders of the search box.

Published at DZone with permission of Fabrizio Giudici, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)