Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124505

fx:deploy creates a Windows exe that doesn't startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 7u40
    • deploy
    • None
    • Windows 7 32bit and 64bit

      Working around https://javafx-jira.kenai.com/browse/RT-29618 by generating a jar with Maven with the classpath in the manifest, and then letting fx:jar inject the necessary JavaFX classes and manifest entries, I succeeded in creating a native bundle with 2.2.6-ea. On Mac OS X I get a working .dmg but on Windows 7 (32&64bit) this results in an exe file that doesn't startup. There are no errors, the busy mouse pointer appears for a few seconds and then nothing. I did notice that the generated package.cfg contains an empty entry for app.classpath:
      app.mainjar=myapp-0.9.9.jar
      app.version=0.9.9
      app.id=MyApp
      app.mainclass=com/javafx/main/Main
      app.classpath=

      Don't know if this is normal or not.
      As in RT-29618, just executing the same build targets with 7.0.17 results in a working exe file.

            mhowe Mark Howe (Inactive)
            nmommaertjfx Nico Mommaerts (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: