This Eclipse build doesn't have support for the integrated browser

我在启动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:

  1. # Set path for the Mozilla SWT binding
  2. MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME%*/}
  3. if false && [ -n "$MOZILLA_FIVE_HOME" -a -e $MOZILLA_FIVE_HOME/libgtkembedmoz.so ]; then
  4.    :
  5. elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
  6.    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
  7. elif [ -e /usr/lib/firefox/libgtkembedmoz.so ]; then
  8.    export MOZILLA_FIVE_HOME=/usr/lib/firefox
  9. elif [ -e /usr/lib/xulrunner/libgtkembedmoz.so ]; then
  10.    export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
  11. elif [ -e /usr/lib/mozilla-firefox/libgtkembedmoz.so ]; then
  12.    export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
  13. elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
  14.    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
  15. else
  16.    $DIALOGW /
  17.    --title="Integrated browser support not working" /
  18.    --text="This Eclipse build doesn't have support for the integrated browser."
  19.    [ $? -eq 0 ] || exit 1
  20. fi

So I’ve added after the second “export” these lines

下面的icedove其实就是thunderbird,如果没有顺便装上吧!

  1. elif [ -e /usr/lib/icedove/libgtkembedmoz.so ]; then
  2.    export MOZILLA_FIVE_HOME=/usr/lib/icedove

and now it works.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值