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.

Bug 218252

Summary: Unable to build zip distribution of NetBeans Platform application with JavaFX on Mac
Product: apisupport Reporter: gailanderson
Component: HarnessAssignee: pgebauer <pgebauer>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: NetBeans Platform App with 3 windows: 1 Swing and 2 JavaFX

Description gailanderson 2012-09-12 21:39:10 UTC
Created attachment 124279 [details]
NetBeans Platform App with 3 windows: 1 Swing and 2 JavaFX

On the Mac, the application runs fine from within NetBeans. However, when I create a zip distribution, the exception is

ava.lang.UnsatisfiedLinkError: com.sun.glass.ui.mac.MacApplication.submitForLaterInvocation(Ljava/lang/Runnable;)V
at com.sun.glass.ui.mac.MacApplication.submitForLaterInvocation(Native Method)
[catch] at com.sun.glass.ui.InvokeLaterDispatcher.run(InvokeLaterDispatcher.java:101)

I tested this both by adding the native libraries to the jfxrt.jar wrapped library and not (it works fine either way when run from within NetBeans).

A NB engineer successfully ran this project in Windows by adding the native Window libraries to the jfxrt.jar wrapped library and creating a zip distribution as detailed here http://javafx-jira.kenai.com/browse/RT-24721.

I can't duplicate this success in a Mac environment. (I am using NetBeans 7.2 and Java(TM) SE Runtime Environment (build 1.7.0_06-b24), which includes JavaFX 2.2.)

The attached project includes the jfxrt module with no native libraries. Are there any NB engineers who use a Mac that can successfully run this as a zip distribution? With or without the added Mac native libraries. If so, which libraries are required?
Comment 1 Jaroslav Tulach 2012-11-06 10:27:44 UTC
It is hard to help as I don't have a Mac.