Linux eclipse浏览器,eclipse internal web browser 不可用在linux下的解决

这不是什么大问题,就是没有内建的浏览器,但是每次打开eclipse3.2都弹出个warning实在是很不爽!在google,百度上搜索也没有个结果,小孙就直接去了eclipse的官方网站。简而言之,关键的关键字就是SWT,widget与gecko,安装一下两个包就可解决问题。

libmozillainterfaces-java

- XPCOM bindings for Java

xulrunner

- XUL + XPCOM application runner

一下是原文,小孙并没有设置MOZILLA_FIVE_HOME变量,仅仅是安装了两个包。再次打开eclipse3.2,呵呵,没有讨厌的warning了。window->preferences->general->web

browser里,可以看到原来灰色的internal

web browser已经可以选择了。

事情,就是这么简单。不知道,小孙的解决方法是否能被搜索到,呵呵:)

Browser

Issues

Mylar

uses the Standard Widget Toolkit Browser, which means that there must

be a browser on the system that works with the SWT Browser. For

Windows and MacOS, the standard works fine, but on some Linux

distributions, you will need to download one. Note: as of 3

Oct 2006, default Firefox distributions for Linux will not work;

errors such as "Could not create Browser page: No more handles

(java.lang.UnsatisfiedLinkError:

...)"

may appear.

Seefor which browsers will work.

is reported to work well. Just install and then point

MOZILLA_FIVE_HOME to /usr/lib/seamonkey. (read below for example of

setting this variable)

To

test to see if your browser is properly configured, select Window

-> Show View -> Other -> General -> Internal Web Browser,

then try to bring up a web page.

A

quick work-around is to disable the internal browser pages in Mylar

editors. To do this: Window -> Preferences -> Mylar ->

Tasks -> Disable Internal Browser.

Before

testing the browser support in Mylar, you must first ensure that the

Eclipse internal browser is correctly configured. To test to see if

your browser is properly configured, select Window -> Show

View -> Other -> General -> Internal Web Browser, then

try to bring up a web page.

Notice:

You must use the GTK2 version of Mozilla for internal browser

integration.

Notice:

The internal browser does not correctly support HTTPS. See.

Mylar

Task Management features makes use of Eclipse's internal browser,

which may require additional install steps listed below. You also

have the option of disabling Mylar's use of the internal browser via

Preferences -> Mylar -> Tasks.

The

following steps have been verified on Fedora Core 5, and OpenSuSE

10.1.

Run

Mozilla (not Firefox) to confirm that it works.

Confirm

the location of your Mozilla install (ex:/usr/lib/mozilla-1.7.12)

Set

necessary environment variables in/.bashrc,

adding the following 3 lines

MOZILLA_FIVE_HOME=/usr/lib/mozilla-1.7.12

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME

export MOZILLA_FIVE_HOME LD_LIBRARY_PATH

For

Debian Etch and newer use the following MOZILLA_FIVE_HOME:

MOZILLA_FIVE_HOME=/usr/lib/iceape

4.

Log out and log in again (or type "source

.bashrc"

at the prompt)5.

Start Eclipse and test the internal web browser

If

you are getting exceptions indicating missing libraries, check that

the paths are accurate and that you have the libraries required. For

example, on our test box a library was still missing after these

steps. Thelibstdc++.so.5was being reported as missing. To solve this problem, find anrpmonline that will install the missing legacy library. In our case we

found necessaryrpm(compat-libstdc++-33-3.2.3-47.fc4.i386.rpm)

onusing their search facility. See also:

[]

Memory consumption problem with internal browser on Linux-GTK

If

you are experiencing abnormal memory consumption upon launching the

internal browser (or opening repository tasks), try shutting down

eclipse, renaming/moving your~/.mozilla/eclipsefolder and relaunching eclipse. (see)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值