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

javafx dll binaries are in the wrong directory in the jmod files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 9
    • 9
    • javafx
    • java -version
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+138)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+138, mixed mode)

    • 9

    Description

      Attachment contains modular jars (com.greetings.jar, custom.util.jar) to use in command line of jlink
      steps to reproduce.

      try the following commands in build 138 by modifying module-path directory according to your system.

      SCENARIO ONE:
      jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withstripnativecommandssecondtime138build --strip-native-commands

      ISSUE :Go to output directory "withstripnativecommandssecondtime138build\bin" mentioned in jlink command.

      Which dll's are missing?
      prism_common.dll
      javafx_font.dll
      prism_d3d.dll
      prism_sw.dll
      jfxmedia.dll
      jfxwebkit.dll
      javafx_font.dll
      javafx_font_t2k.dll
      javafx_iio.dll
      fxplugins.dll
      glass.dll
      glib-lite.dll
      gstreamer-lite.dll
      decora_sse.dll
      server/jvm.dll

      SCENARIO TWO:
      WORKING PERFECTLY:
      jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withoutstripnativecommandssecondtime138build

      NOTE: Modular Jar's contains javafx code and doesn't contain any dll's

      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              rgangadhar Ramesh Gangadhar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: