-
Bug
-
Resolution: Fixed
-
P3
-
7u6
-
Windows 7 64bit, JDK 1.7.0_06 b21 64bit, JavaFX 2.2b19 64bit
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8129983 | 7u40 | Unassigned | P3 | Closed | Fixed |
On Windows 7 64bit, I use JDK 1.7.0_06 b21 64bit and JavaFX 2.2 b19 64bit (the ones that comes co-bundled with this JDK preview release). I also installed Wix 3.5 and Inno Setup 5.5.1 and set them on my PATH.
Using https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx and http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm I managed to add a deployment ANT task at the end of the build.xml file attached to my NetBeans 7.2 project (see attached build.xml file).
The JNLP for the deployment application seems to be correctly generated (see attached MFCL-Viewer.jnlp file). The installer EXE and MSI are produced.
But the app native launcher somehow references an auxiliary dependency JAR as it's main jar (see attached package.cfg).
Furthermore, when double clicked, the native launcher launches an invalid JavaFX application (one of the test cases contained in this dependencies) instead of the JavaFX main class defined in the project settings in NetBeans and referenced in the build.xml.
A third and less impacting issue is that the icon defined in the ANT task and correctly referenced in the JNLP is not showing up in the native launcher.
Thanks.
Using https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx and http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm I managed to add a deployment ANT task at the end of the build.xml file attached to my NetBeans 7.2 project (see attached build.xml file).
The JNLP for the deployment application seems to be correctly generated (see attached MFCL-Viewer.jnlp file). The installer EXE and MSI are produced.
But the app native launcher somehow references an auxiliary dependency JAR as it's main jar (see attached package.cfg).
Furthermore, when double clicked, the native launcher launches an invalid JavaFX application (one of the test cases contained in this dependencies) instead of the JavaFX main class defined in the project settings in NetBeans and referenced in the build.xml.
A third and less impacting issue is that the icon defined in the ANT task and correctly referenced in the JNLP is not showing up in the native launcher.
Thanks.
- backported by
-
JDK-8129983 Native bundle - wrong main jar, wrong executable class
-
- Closed
-