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

If javafxpackager is built on 10.8 the apps it generates won't work on 10.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u10
    • deploy
    • None
    • OS X 10.8.1, Xcode 4.4.1

      I know we build JavaFX on 10.7 but eventually we will need to set up a build machine with 10.8 because that will be all that's available. When we do, bundled apps that use the native stub built on the 10.8 machine will not launch on 10.7. You will be told that the app crashed with basically no stack trace.

      Fix is to compile with a minimum system version of 10.7:

                  <arg value="-arch"/>
                  <arg value="x86_64"/>
                  <arg value="-mmacosx-version-min=10.7"/>

      I'm guessing that the binary format changed somewhat for 10.8. We also use -m64 right now to indicate we want a 64-bit build, but the more standard way of doing it is -arch x86_64.

            igor Igor Nekrestyanov (Inactive)
            skovatch Scott Kovatch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: