This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Now there is an option in nbi/infra/build/.common/common.properties : nb.platform.home=-Dplatforms.JDK_1.5.home=${java.home}/.. It is suitable for the the windows/linux/solaris but it doesn`t fit MacOS : ${java.home} actually points to the JDK on MacOS since these is no private JRE there. It certainly can be workarounded by adding the following option to the main ant call: -Dnb.platform.home=-Dplatforms.JDK_1.5.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home The best variant is to use the following option only on MacOS and the current one on all the other OSes: nb.platform.home=-Dplatforms.JDK_1.5.home=${java.home}
fixed. http://hg.netbeans.org/main/rev/49c1b17d892b