Bug 158302 - Embedded browser not available
Embedded browser not available
Product: Fedora
Classification: Fedora
Component: eclipse (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: eclipse-bugs
Depends On:
  Show dependency treegraph
Reported: 2005-05-20 10:08 EDT by Robin Green
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-25 09:10:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robin Green 2005-05-20 10:08:03 EDT
Description of problem:
MOZILLA_FIVE_HOME is not set, so the embedded browser widget fails to start

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. In eclipse, create a file called "test.html"
Actual results:
Eclipse says: "Embedded browser not available" and offers to "open file using
the system editor". The detailed error message is:

org.eclipse.swt.SWTError: No more handles [Unknown mozilla path

Expected results:
Should use mozilla or firefox for the embedded browser widget

Additional info:
I am currently running eclipse on Sun JDK 1.5, but I don't think that should
make a difference, because MOZILLA_FIVE_HOME would not be set whichever VM you use.

Suggested fix: Add the following to /usr/bin/eclipse:

if [ -z "$MOZILLA_FIVE_HOME" ]; then
  XPCOM=$(ls -t /usr/lib/{mozilla,firefox}-*/libxpcom.so|head -n1)
  export MOZILLA_FIVE_HOME=$(dirname $XPCOM)
Comment 1 Andrew Overholt 2005-05-20 11:06:42 EDT
I've been meaning to fix this - thanks for doing it!  I'll include it in our
next build.
Comment 2 Ben Konrath 2005-05-25 01:15:21 EDT
This has been fixed in the M7 packages. Can you test to make sure this works for
you and close this bug if it does? Thanks for the patch.
Comment 3 Robin Green 2005-05-25 09:10:28 EDT
Yeah, it works for me with the eclipse 3.1M7 rpms.

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