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

Packager generated native binaries do not work on 64 bit JVM

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P2 P2
    • 8
    • 7u15
    • deploy

      For 64bit JDK you only have server vm and not client vm
      When you use such JDK and build a native binary using packager using fx:deploy with binaryBundles=all or using command line tool packager builds them successfully but the application can't be run.

      You can see in the output:

      jvm.dll is not found [/home/mikhail/Work/Oracle/JavaOrg/JDK/7u15/packager/packagerTestsSuite/apps/HelloWorld/dist/bundles/HelloWorld/runtime/jre/lib/amd64/client/libjvm.so]
      Failed to launch JVM

      the key thing here is that it looks for .../client/libjvm.so while my java installation only has server vm

            cbensen Chris Bensen (Inactive)
            mkondrat Mikhail Kondratyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: