Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742335 - dev-java/openjdk-bin New tools added in Java 9 are not available in "bin" when openjdk-11 is set as system/user VM
Summary: dev-java/openjdk-bin New tools added in Java 9 are not available in "bin" whe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
: 754711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-13 11:25 UTC by Viktar Patotski
Modified: 2021-07-20 12:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktar Patotski 2020-09-13 11:25:30 UTC
I have openjdk-11 installed as system and user VM:
  java --version
  openjdk 11.0.8 2020-07-14
  OpenJDK Runtime Environment 11.0.8_p10 (build 11.0.8+10)
  OpenJDK 64-Bit Server VM 11.0.8_p10 (build 11.0.8+10, mixed mode, sharing)

However new tools like "jshell", "jlink" etc added in Java 9+ version are not available when I call them in shell:
  jshell        
  zsh: command not found: jshell


So I have to use these tools using full path:
  /usr/lib64/openjdk-11/bin/jshell

I believe they need to be added to PATH.


Reproducible: Always

Actual Results:  
jshell        
zsh: command not found: jshell


Expected Results:  
jshell should be available in shell when calling from termonal.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-17 06:57:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/eselect-java.git/commit/?id=ea7f6ed4005091ce0d87bfb38724f930b205f195

commit ea7f6ed4005091ce0d87bfb38724f930b205f195
Author:     Georgy Yakovlev <ya@sysdump.net>
AuthorDate: 2020-09-17 06:56:28 +0000
Commit:     Georgy Yakovlev <ya@sysdump.net>
CommitDate: 2020-09-17 06:56:28 +0000

    Makefile.am: install more tool symlinks
    
    Bug: https://bugs.gentoo.org/742335
    Signed-off-by: Georgy Yakovlev <ya@sysdump.net>

 Makefile.am | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2020-09-17 07:12:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945b7b855d6bfd8aaa2be9ff53f49a5c5f77c94a

commit 945b7b855d6bfd8aaa2be9ff53f49a5c5f77c94a
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-09-17 07:01:22 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-09-17 07:10:25 +0000

    app-eselect/eselect-java: bump to 0.4.1
    
    Bug: https://bugs.gentoo.org/742335
    Package-Manager: Portage-3.0.7, Repoman-3.0.1
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 app-eselect/eselect-java/Manifest                  |  1 +
 app-eselect/eselect-java/eselect-java-0.4.1.ebuild | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-09-17 08:08:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/eselect-java.git/commit/?id=538f6d19410606a0c70e9bc418318f28b549c084

commit 538f6d19410606a0c70e9bc418318f28b549c084
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-09-17 08:07:28 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-09-17 08:07:28 +0000

    Makefile.am: install more tool symlinks
    
    Bug: https://bugs.gentoo.org/742335
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 Makefile.am | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 4 Viktar Patotski 2020-09-17 08:15:04 UTC
Installed and tools are available now. Also java8 still working.

Super! Thanks!
Comment 5 Florian Schmaus gentoo-dev 2020-11-15 20:58:43 UTC
*** Bug 754711 has been marked as a duplicate of this bug. ***
Comment 6 Georgy Yakovlev archtester gentoo-dev 2021-07-20 12:43:00 UTC
a bit overdue, 0.4.2 is now stable.