我在启动Eclipse时提示“This Eclipse build doesn't have support for the integrated browser.”
解决办法:
I’ve installed eclipse from debian official repository. It works but it has a problem according to the browser. I think you all remember those silly debian developers questioning about firefox name, don’t you? Well, now eclipse does not recognize the mozilla browser because it can’t find it ( because of the “iceIhaveTimeToSpendInBullshits” name).
I’ve opened the /usr/bin/eclipse and see what I’ve found:
- # Set path for the Mozilla SWT binding
- MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME%*/}
- if false && [ -n "$MOZILLA_FIVE_HOME" -a -e $MOZILLA_FIVE_HOME/libgtkembedmoz.so ]; then
- :
- elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/mozilla
- elif [ -e /usr/lib/firefox/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/firefox
- elif [ -e /usr/lib/xulrunner/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
- elif [ -e /usr/lib/mozilla-firefox/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
- elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/mozilla
- else
- $DIALOGW /
- --title="Integrated browser support not working" /
- --text="This Eclipse build doesn't have support for the integrated browser."
- [ $? -eq 0 ] || exit 1
- fi
So I’ve added after the second “export” these lines
下面的icedove其实就是thunderbird,如果没有顺便装上吧!
- elif [ -e /usr/lib/icedove/libgtkembedmoz.so ]; then
- export MOZILLA_FIVE_HOME=/usr/lib/icedove
and now it works.