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 - Unable to build zip distribution of NetBeans Platform application with JavaFX on Mac
Summary: Unable to build zip distribution of NetBeans Platform application with JavaFX...
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal with 1 vote (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 21:39 UTC by gailanderson
Modified: 2015-09-09 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans Platform App with 3 windows: 1 Swing and 2 JavaFX (3.93 MB, application/zip)
2012-09-12 21:39 UTC, gailanderson
Details

Note You need to log in before you can comment on or make changes to this bug.
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.