| Summary: | Default external web browser not found when running 32-bit Eclipse on 64-bit Ubuntu 9.04 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bokowski, cgold, cocoakevin, grant_gayed, wbprio | ||||
| Version: | 3.5.1 | ||||||
| Target Milestone: | 3.7 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 293159, 330927 | ||||||
| Attachments: |
|
||||||
|
Description
Martin Oberhuber
To reproduce the scenario, following packages must be installed on a vanilla Ubuntu9.04 64-bit in order to get 32-bit JVM / Eclipse to run: apt-get install ia32-libs apt-get install libstd++6 Probably also the following are needed -- we have them on our system, but they may not be required for plain Eclipse SDK: apt-get install libgettext-ruby1.9 apt-get install libgettext-ruby-data apt-get install libgettext-ruby-util apt-get install comerr-dev apt-get install ss-dev apt-get install doxygen apt-get install g++ apt-get install texlive-latex-base apt-get install bison If the default browser is 64 bit, the 32-bit eclipse won't be able to use it. If it's not already installed the user will need to install a 32 bit XUL runner or firefox and point to it with either a system property or an environment variable. See the FAQ for more information http://eclipse.org/swt/faq.php#howdetectmozilla Grant, do you have any other ideas? (In reply to comment #2) > If the default browser is 64 bit, the 32-bit eclipse won't be able to use it. I understand that the internal browser won't work in this scenario, but this defect is about the *external* browser. If /usr/bin/firefox is manually selected in the preferences, Eclipse can use it so there is a chance for getting this to work. See also bug 293159. Moving back to UI, this is not an issue with the Browser control, or with the Program class (since the machine does not have the Program's dependent libraries). This is a request for eclipse to try harder if attempts to detect an available browser via Program fail. This sounds as though it could be fixed by adding more places to look in org.eclipse.ui.browser using the "org.eclipse.ui.browser.browsers" extension point - is bug 293159 preventing that from working? Created attachment 176682 [details]
Patch adding "/usr/bin/firefox" as location to check
Attached patch fixes the immediate problem - Firefox is auto-detected as the external browser to use on Ubuntu 9.04 64-bit when Eclipse runs as 32-bit, and opening help works out of the box.
Patch committed to HEAD, Fixed Could this be backported to 3.6.2 please ? Sure, can you clone this bug and edit the clone to indicate that you want the fix back ported to 3.6.2. |