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.
Tom Ball wrote: > I just found that the new JavaFX Platform support generates a platforms.${platform}.bootcp property in the user's build.properties file which can never work on a Mac (regardless of what Java version is installed). This is because that property is built from {JRE.lib.jars}:{JavaFXSDK.lib.jars}:{JRE.lib.ext.jars}, but for it to work on Macs, the JavaFXSDK.lib.jars must be first. I just verified that manually editing my platform.bootcp property to match this new pattern works on Java 5 and Java 6, so the fix should be simple. > > The reason the javafxc and similar tasks have to have the SDK jars first is because Apple puts the javac classes in its equivalent of rt.jar (classes.jar). To enhance javac (which javafxc does), you therefore have to prepend the enhanced classes to the bootclasspath. On Sun-provided JDKs, those classes go into tools.jar on the classpath, which is much easier to override. > > I believe this is a show-stopper because many of the developers and designers we are trying to attract with JavaFX use Macs. > > Tom
From forum post http://forums.java.net/jive/thread.jspa?messageID=276449 ------------------------------------------------------------------------ Hi, i had similar errors and posted a bugreport. I had to change to build.properties located in the .netbeans directory (usually in your home). Putting the javafxc.jar to the beginning should help: ... platforms.default_fx_platform.bootclasspath=/Users/<yourUserNameHere>/.netbeans/6.1/modules/ext/compiler/lib/javafxc.jar: ... ------------------------------------------------------------------------
Looks like it was fixed by rewriting JavaFX platform code which adds platform related properties. At least it's reproducible with last public plugin created 18 Apr 2008 and not reproducible with plugin created from latest sources. As far as I see in the build.properties file and platform sources boot classpath property is generated as {SDK_JARS}:{JDK_JARS}.
verified
Cleaning bugzilla categories ....