Drawing Hands by M.C. Escher (1948)

Jeff Mesnil


Eclipse 3.2 and Welcome page on Ubuntu

On July 3rd, 2006 in eclipse

Eclipse 3.2 is out and it is a great release. :-)

However, the default Welcome page I had on my Ubuntu desktop is quite broken

Broken Welcome Page in Eclipse 3.2

After a little search on eclipe.org SWT FAQ, it appears that by default, Ubuntu is missing the MOZILLA_FIVE_HOME which is required by SWT to use the web browser internally.

I just added this variable before starting Eclipse:

export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox/

and the Welcome page appeared as expected:

Welcome Page in Eclipse 3.2

I really like the new theme (Circles) by the way. )

4 Responses to “Eclipse 3.2 and Welcome page on Ubuntu”

  1. Phillip Beauvoir Says:

    Hi,

    you may already know this… anyways… as all Eclipse apps that use the SWT Browser will require MOZILLA_FIVE_HOME, it may be easier to set it just once:

    Add the line “export MOZILLA_FIVE_HOME=/usr/lib/mozilla” to the end of the file “/etc/environment” (“sudo gedit /etc/environment” in Ubuntu). (”mozilla-firefox” will work for early versions of Firefox)

    see http://eclipticon.blogspot.com/2006/05/getting-swt-browser-widget-to-work-in.html

    Phil

  2. jmesnil Says:

    Thanks for the tip, Philip.

    I tend to have a ~/.javarc that I move from one computer to another
    with all the settings I use for Java.

    The issue that I’ve with this MOZILLA_FIVE_HOME variable is that, without it,
    Eclipse is not working as expected outside of the box.
    For our clients which uses a RCP application with a welcome page, it requires one more
    step which is not very user-friendly.

    Before Eclipse 3.2, they were presented to an ugly welcome page but at least the
    links were working. Now it seems that with Eclipse 3.2 the fallback welcome page
    is really broken (but I need to investigate more before reporting bugs).

    I hope the SWT team will find a way to get rid of this variable for Eclipse 3.3 :-)

  3. Alex Blewitt Says:

    At least it falls back nicely to showing a textual overview, even if it’s not as pretty as the circles. Some might even prefer the minimalist view :-)

  4. jmesnil Says:

    Hi Alex,

    Actually, I kind of like the minimalist view and I never bother to setup correctly
    the internal browser for Eclipse.

    However with Eclipse 3.2, it seems the minimalist view is broken:

    • the http://org.eclipse.ui.intro links open in Firefox instead of interacting with the workbench
    • when I close the welcome page,a dialog to save a random file opens.

    So it seems that with Eclipse 3.2, we no longer have the choice: if the internal web
    browser is not correctly setup, the fallback welcome page is utterly broken.