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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u51
    • Fix Version/s: 8u20
    • Component/s: deploy
    • Environment:

      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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: