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

New commands (e.g. jlink) not linked on /usr/bin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Duplicate
    • 9, 10, 11
    • None
    • install
    • generic
    • os_x

    Description

      FULL PRODUCT VERSION :
      java version "10" 2018-03-20
      Java(TM) SE Runtime Environment 18.3 (build 10+46)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Darwin M 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      Traditional commands, even deprecated ones like appletviewer are directly accessible from the command line. Reason for this is, that there are symlinks in /usr/bin which relay to the actual command

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jlink
      -bash: jlink: command not found


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      link should be directly executable like java is:

      $ jlink
      Error: --output must be specified
      Usage: jlink <options> --module-path <modulepath> --add-modules <module>[,<module>...]
      Use --help for a list of possible options

      ACTUAL -
      $ jlink
      -bash: jlink: command not found


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      It can be called in the actual location of the JVM

      $ /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/jlink
      Error: --output must be specified
      Usage: jlink <options> --module-path <modulepath> --add-modules <module>[,<module>...]
      Use --help for a list of possible options


      Attachments

        Issue Links

          Activity

            People

              fmatte Fairoz Matte
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: