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

jlink attempts to create launcher scripts when root/bin dir does not exist

XMLWordPrintable

    • b134
    • generic
    • generic
    • Not verified

      When running jlink and the module being linked in contains a manifest with the main-class:

      > jar --create --file=modules/hello.world.jar --main-class=com.greetings.HelloWorld -C build/hello.world .

      and you run jlink with --strip-native-commands, then jlink will attempt to strip the file hello.world (a shell script on Mac) that does not exist. Without a manifest it works fine.

            sundar Sundararajan Athijegannathan
            cbensen Chris Bensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: