Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 731345

Summary: Javaws fails with bin/java not found
Product: Red Hat Enterprise Linux 6 Reporter: Lukáš Zachar <lzachar>
Component: icedtea-webAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: dbhole, lzachar, omajid
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:10:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukáš Zachar 2011-08-17 12:06:26 UTC
Description of problem:

When run javaws it fails with error:

/usr/bin/javaws: line 26: /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/java: No such file or directory

Version-Release number of selected component (if applicable):
icedtea-web-1.1.1-1.el6.x86_64

How reproducible:
always


Steps to Reproduce:
1. run javaws
  
Actual results:
error

Expected results:
help message/correct run

Additional info:
tested with java-1.6.0-openjdk-1.6.0.0-1.40.1.10.3.el6.x86_64

there is no error when devel rpm is installed
(java-1.6.0-openjdk-devel-1.6.0.0-1.40.1.10.3.el6.x86_64)

Comment 2 Lukáš Zachar 2011-08-17 12:17:36 UTC
With jre only, the java binary is located in
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java

Comment 3 Lukáš Zachar 2011-08-17 12:44:48 UTC
There is similar problem with java plugin in BZ#731358

Comment 7 jiri vanek 2011-08-17 14:45:29 UTC
When quick-fix is quite easy and although also harmless, i suggest not to respin, and use this fix only when somebody complains.  Because it is very rare to have installed java without devel package.

Comment 11 errata-xmlrpc 2011-12-06 15:10:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1624.html