It's all about the answers!

Ask a question

The MOZILLA_FIVE_HOME & LD_LIBRARY_PATH env variables


Daniele Grignani (16131) | asked Jan 15 '10, 8:25 p.m.
Hi
in my Linux ambient (OpenSuse 11.2 64 bit and JRE 32 bit) I have some problem with Rational Team Concert 2.0.0.2 client: Team Advisor window says to me that:

"Failed to create web browser. The MOZILLA_FIVE_HOME environment variable must be configured to point to your web browser install location. For example: export MOZILLA_FIVE_HOME = /usr/lib/firefox
Also, MOZILLA_FIVE_HOME must be added to the LD_LIBRARY_PATH variable. For example: export LD_LIBRARY_PATH = "$MOZILLA_FIVE_HOME":"$LD_LIBRARY_PATH" More instructions for configuring the embedded browser can be found here: http://www.eclipse.org/swt/faq.php".

I have read the FAQs. My Firefox directory is /usr/lib64/firefox whereas xulrunner is in /usr/lib64/xulrunner-1.9.1.6(directory pointed in /etc/gre.d/1.9.1.6-64bit.system.conf: GRE_PATH=/usr/lib64/xulrunner-1.9.1.6), but when I try to export MOZILLA_FIVE_HOME and LD_LIBRARY_PATH with firefox directory or xulrunner (Firefox version: 3.5.6 and it was not downloaded from firefox.com, but comes as part of the Linux distribution), the result does not change: why?
Thanks

Daniele

2 answers



permanent link
Jared Burns (4.5k29) | answered Jan 18 '10, 9:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Sat, 16 Jan 2010 01:37:56 +0000, thatpetrolemotion wrote:

Hi
in my Linux ambient (OpenSuse 11.2 64 bit and JRE 32 bit) I have some
problem with Rational Team Concert 2.0.0.2 client: Team Advisor window
says to me that:

"Failed to create web browser. The MOZILLA_FIVE_HOME environment
variable must be configured to point to your web browser install
location. For example: export MOZILLA_FIVE_HOME = /usr/lib/firefox
Also, MOZILLA_FIVE_HOME must be added to the LD_LIBRARY_PATH variable.
For example: export LD_LIBRARY_PATH =
"$MOZILLA_FIVE_HOME":"$LD_LIBRARY_PATH" More instructions for
configuring the embedded browser can be found here:
http://www.eclipse.org/swt/faq.php".

I have read the FAQs. My Firefox directory is /usr/lib64/firefox whereas
xulrunner is in /usr/lib64/xulrunner-1.9.1.6(directory pointed in
/etc/gre.d/1.9.1.6-64bit.system.conf:
GRE_PATH=/usr/lib64/xulrunner-1.9.1.6), but when I try to export
MOZILLA_FIVE_HOME and LD_LIBRARY_PATH with firefox directory or
xulrunner (Firefox version: 3.5.6 and it was not downloaded from
firefox.com, but comes as part of the Linux distribution), the result
does not change: why?
Thanks

Daniele

I don't recall the details, but there's some kind of compatibility
problem with SWT and xulrunner 1.9. I believe you can fix this by
installing a 1.8 version of xulrunner. You can have both 1.8 and 1.9
installed side-by-side on the same machine.

The SWT FAQ explains a Java system property you can use to make sure SWT
picks up the 1.8 version of xulrunner:

http://www.eclipse.org/swt/faq.php#specifyxulrunner

--
Jared Burns
Jazz Process Team

permanent link
Daniele Grignani (16131) | answered Jan 18 '10, 8:03 p.m.
Thank you for your answer Jared.

Some day after my last post, I have read the swt faq with more attention and so I have installed xulrunner-1.8.1.3.en-US.linux and firefox-3.0.17.tar.bz2 and now Eclipse works fine

Here my script for who has the same problem:

export MOZILLA_FIVE_HOME=/opt/IBM/TeamConcert/firefox (this is my firefox-3.0.17 directory)
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
export CLASSPATH=$DERBY_INSTALL/derby.jar:$DERBY_INSTALL/derbytools.jar:$CLASSPATH
/opt/IBM/TeamConcert/eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/opt/IBM/TeamConcert/xulrunner (my xulrunner-1.8.1.3)

Daniele

Daniele

I don't recall the details, but there's some kind of compatibility
problem with SWT and xulrunner 1.9. I believe you can fix this by
installing a 1.8 version of xulrunner. You can have both 1.8 and 1.9
installed side-by-side on the same machine.

The SWT FAQ explains a Java system property you can use to make sure SWT
picks up the 1.8 version of xulrunner:

http://www.eclipse.org/swt/faq.php#specifyxulrunner

--
Jared Burns
Jazz Process Team

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.