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

packager: 32-bit javafxpackager creates invalid package based on 64-bit JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 7u51
    • deploy
    • Ubuntu 12.04 x64
      JDK:
      1) BASE_JAVA_HOME points at 32-bit JDK 1.7u51-b07
      2) EXTERNAL_JAVA_HOME points at 64-bit JDK, for example, 7u40-b31

      When packager in 32-bit JDK tries to build package based on 64-bit JDK (<fx:platform basedir="..."/>) the generated executable fails with this message:

      libjvm.so is not found in the bundled runtime.
      Failed to launch JVM

      To reproduce:
      1) download and unpack HelloWorld.tar.bz2
      2) run update_props.sh $BASE_JAVA_HOME # - 32-bit java at this $BASE_JAVA_HOME
      3) edit simple-project.properties and edit ext.jdk to point at $EXTERNAL_JAVA_HOME, which is your 64-bit JDK
      4) run "ant -f simple-build.xml deploy-all-diff-jre"
      5) run "./dist/bundles/HelloWorld/HelloWorld"
      6) get the wrong output

            dcherepanov Dmitry Cherepanov
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: