Bug 853239 - alternative link for jcmd is not installed
Summary: alternative link for jcmd is not installed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.7.0-openjdk
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-30 20:25 UTC by Omair Majid
Modified: 2013-01-16 10:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-16 10:52:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Omair Majid 2012-08-30 20:25:22 UTC
After installing java-1.7.0-openjdk{,-devel}, jcmd can't be used directly:

$ /usr/bin/jcmd
bash: /usr/bin/jcmd: No such file or directory

$ /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5.x86_64/bin/jcmd
14672 sun.tools.jcmd.JCmd

Compare with jps:

$ /usr/bin/jps
14693 Jps

$ /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5.x86_64/bin/jps
14707 Jps

I see that the java-1.7.0-openjdk rpm does not set up jcmd using alternatives.


Note You need to log in before you can comment on or make changes to this bug.