Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 210122

Summary: dev-java/java-config-2.1.4, dev-java/sun-jdk-1.6.0.04: java tools like jhat, jstack, jmap not in $PATH
Product: Gentoo Linux Reporter: Benjamin Bock <bb--bugs.gentoo.org>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benjamin Bock 2008-02-14 11:53:14 UTC
There are quite a few useful tools in /opt/sun-jdk-1.6.0.04/bin. java-config should either add this directory to $PATH or add wrappers for all tools in /usr/bin as it is done for java and javac

Reproducible: Always

Steps to Reproduce:
1. emerge sun-jdk 1.6.0.04
2. configure it as system vm using java-config
3. (maybe) env-update, source /etc/profile or open new login shell
4. type jhat -version
Actual Results:  
zsh:
% jhat -version                                                                                                                        
zsh: correct 'jhat' to 'jay' [nyae]? n
zsh: command not found: jhat

bash:
$ jhat
bash: jhat: command not found


Expected Results:  
$ jhat -version
jhat version 2.0 (java version 1.6.0_04)
$
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-03 09:43:59 UTC

*** This bug has been marked as a duplicate of bug 180755 ***