jlink RuntimeException: descriptor returns inconsistent package set

Jim Connors james.connors at oracle.com
Fri Feb 10 17:55:40 UTC 2017


OK, it shows up without the '-s' option.  Not sure if that's 
intentional.  Anyway I've taken enough of your time.  Thanks for all the 
help.

    C:\tmp\scratch>jdeps -R --module-path . scoreboard.jar
    ...
    scoreboard
      [file:///C:/tmp/scratch/./scoreboard.jar]
        requires com.jtconnors.socket
        requires java.base (@9-ea)
        requires java.datatransfer (@9-ea)
        requires java.desktop (@9-ea)
        requires java.logging (@9-ea)
        requires java.prefs (@9-ea)
        requires java.xml (@9-ea)
        requires javafx.base (@9-ea)
        requires javafx.controls (@9-ea)
        requires javafx.graphics (@9-ea)
        requires javafx.media (@9-ea)
        requires jdk.jsobject (@9-ea)
    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
    ...



On 2/10/2017 12:49 PM, Jim Connors wrote:
> On 2/10/2017 12:43 PM, Alan Bateman wrote:
>> Can you add -R (or -recursive) to the jdeps command? That should 
>> reveal that javafx.graphics requires java.desktop and jdk.jsobject.
>>
>> -Alan
>
> Like this?  Still not there.
>
>    C:\tmp\scratch>jdeps -R -s --module-path . scoreboard.jar
>    com.jtconnors.socket -> java.base
>    com.jtconnors.socket -> java.logging
>    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
>



More information about the jigsaw-dev mailing list