IBM Rational Application Developer, Integration Designer, InfoSphere Data Architect, Rational Team Concert, etc. fails to start/work on Centos, Fedora or RHEL with Java exit code 160? Probably this will help…

It is very popular nowdays to use XUL from Eclipse based products, and IBM product use this “pattern” a lot. The problem is that RHEL6 and Centos 6 comes with Firefox 3.6; unfortunately, after some months Firefox gets upgraded to some newer version and as result XUL library also gets upgraded to some newer version… which is INCOMPATIBLE with IBM products, which relies on the original “vanilla” library. I have already wrote about this problem. But since then something has changed: first of all — problem is no longer a problem of just Fedora, it may arise on RHEL and Centos as well, secondly the distributive of Firefox 3.6 is no longer available on firefox.com (there is a download page, but nothing under the links, except HTTP 404), so I uploaded 3.6.19 (that I had in my archives) to RapidShare.

Solution

Firstly, download Firefox 3.6.19 from there. Next, install it under /usr/lib/firefox-3.6.19. And next modify launcher for your IBM product (in my case it is Rational Software Architect 8.0.3):
from
/home/alex/IBM/SDP/eclipse -product com.ibm.rational.rsa.product.v80.ide
to
/home/alex/IBM/SDP/eclipse -product com.ibm.rational.rsa.product.v80.ide -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/firefox-3.6.19/

–OR–

if you may modify eclipse.ini file for the product, for example for IBM Integration Designer:

edit file /home/alex/IBM/IntegrationDesigner/v8.0/eclipse.ini and add one line in the very end:

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/firefox-3.6.19/

That is it, it works.