Bug 218252 - Unable to build zip distribution of NetBeans Platform application with JavaFX on Mac
Unable to build zip distribution of NetBeans Platform application with JavaFX...
Status: NEW
Product: apisupport
Classification: Unclassified
Component: Harness
7.2
Macintosh (x86) Mac OS X
: P3 with 1 vote (vote)
: 7.4
Assigned To: Martin Kozeny
issues@apisupport
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-12 21:39 UTC by gailanderson
Modified: 2014-04-01 11:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo