Bug 158302
| Summary: | Embedded browser not available | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Green <greenrd> |
| Component: | eclipse | Assignee: | eclipse-bugs |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-05-25 13:10:28 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: | |||
I've been meaning to fix this - thanks for doing it! I'll include it in our next build. 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. Yeah, it works for me with the eclipse 3.1M7 rpms. |
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): eclipse-platform-3.1.0_fc-0.M6.18 How reproducible: Always 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 (MOZILLA_FIVE_HOME not set)] 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) fi export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME