Comment 3 for bug 109669

Revision history for this message
John Huss (johnthuss) wrote :

I don't get this exact error, rather:

org.eclipse.swt.SWTError: XPCOM error -2147467262

when I try to run my java app that uses swt.browser from Eclipse. I have MOZILLA_FIVE_HOME set to a valid path, but eclipse ignores this because of this line in /usr/bin/eclipse:

MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME%*/}
if false && [ -n "$MOZILLA_FIVE_HOME" -a -e $MOZILLA_FIVE_HOME/libgtkembedmoz.s$
    :

The "if false &&" short-circuits the logic and makes it ignore my pre-defined variable. Take this out and it works.