Details
-
Bug
-
Status: Closed
-
P4
-
Resolution: Duplicate
-
9, 10, 11
-
None
-
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
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
- duplicates
-
JDK-8190667 which command doesn't populate for jmod, jlink and jaotc
-
- Closed
-
- relates to
-
JDK-8192835 Create /usr/bin links for jmod, jlink and jaotc in the rpm install
-
- Closed
-