[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: rcp-application - empty views on linux

Joachim Schreibmaier wrote:
> I have imported a windows rcp-application on linux and after starting the
> product, the views which I have generated are empty.
> 
> I have also tried it with the RCP delta pack, but with the same affect.
> 
> Is there an swt-component missing? Also the Welcome-View which includes
> HTML is empty?

Do you have the browser configured correctly?  For an embedded Mozilla to
work, you need to have some pointer to where the Mozilla libraries exist. 
This is typically done with a "GRE" file
(e.g., /etc/gre.conf, /etc/gre.d/gre.conf, etc.).  On my system, I have a
file called /etc/gre.conf that contains:

    [1.6]
    GRE_PATH=/usr/lib/mozilla

If you do not have this file, you will need to set an environment variable,
MOZILLA_FIVE_HOME.  It should point to your Mozilla libraries.  On my
system, I have the following environment variable set:

    MOZILLA_FIVE_HOME=/usr/lib/mozilla


If you do not have this set-up correctly, the following views may not appear
correctly: intro, help, welcome, javadoc, declaration, HTML editor
(read-only), etc.  You can test this by trying to double-click on an HTML
file while running Eclipse.  If it opens in an internal editor, then your
Mozilla is set-up correctly.



cheers,
d.