On 10/02/2017 17:03, Jim Connors wrote:

One interesting thing though. jdeps on the scoreboard.jar file yields this:

    C:\tmp\scratch>jdeps -s --module-path . scoreboard.jar
    scoreboard -> com.jtconnors.socket
    scoreboard -> java.base
    scoreboard -> java.logging
    scoreboard -> java.xml
    scoreboard -> javafx.base
    scoreboard -> javafx.controls
    scoreboard -> javafx.graphics
    scoreboard -> javafx.media

Whereas the jlink image includes additional modules:

     C:\tmp\scratch>reducedImage\bin\java.exe --list-modules
     com.jtconnors.socket
     java.base@9-ea
->  java.datatransfer@9-ea
->  java.desktop@9-ea
     java.logging@9-ea
->  java.prefs@9-ea
     java.xml@9-ea
     javafx.base@9-ea
     javafx.controls@9-ea
     javafx.graphics@9-ea
     javafx.media@9-ea
->  jdk.jsobject@9-ea
[email protected]
Can you add -R (or -recursive) to the jdeps command? That should reveal that javafx.graphics requires java.desktop and jdk.jsobject.

-Alan




Reply via email to