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

Windows 32bit and 64bit version of SDK does not work together

    XMLWordPrintable

Details

    Description

      FX2 SDK is now split into 32bit and 64bit version for Windows. Two different locations have to be used for installation on a developer machine if the developed application should be tested in both environments. However JNI nor FX DLL loader is not sensitive to the actual JVM (32bit or 64bit) so the application startup crashes when wrong version of DLL is loaded.

      Expected behavior:
      - on 64bit Windows machines there is always an option to run 32bit or 64bit JVM and developers are using this fact and usually testing the applications on both
      - NetBeans allows to work with both (32bit and 64bit) version of JVM (JDK) and exchange it for each project dynamically
      - FX DLL loader should be able to detect and handle such situations
      - on 64bit Windows systems the 64bit SDK should always work - no matter if 32bit or 64bit JVM is actually used

      Proposed solution:
      - 32bit FX SDK distribution could remain the same
      - 64bit FX SDK distribution should change the names(or location) of all bundled 64bit DLLs plus include all 32bit DLLs
      - DLL loader should detect actual JVM and load appropriate 32bit or 64bit DLLs (if available) or crash with a meaningful error message

      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              asotonajfx Adam Sotona (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: