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.
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% */} FIVE_HOME" -a -e $MOZILLA_ FIVE_HOME/ libgtkembedmoz. s$
if false && [ -n "$MOZILLA_
:
The "if false &&" short-circuits the logic and makes it ignore my pre-defined variable. Take this out and it works.