This is not a big problem, that is, there is no built-in browser, but every time you open eclipse3.2, it is really uncomfortable to bring up a warning! No results were found on Google and Baidu, and they went directly to the official eclipse website. The keyword is SWT, widget and gecko. install two packages to solve the problem.
Libmozillainterfaces-Java-XPCOM Bindings for Java
Xulrunner-Xul + XPCOM application runner
The following is the original article. Sun did not set the mozilla_five_home variable, but only installed two packages. Open eclipse3.2 again. In window-> preferences-> General-> Web browser, you can see that the gray internal web browser is available.
It's that simple. I don't know if Sun's solution can be found. haha :)
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 "cocould not create browser page: No more handles (Java. Lang. unsatisfiedlinkerror :...
) "May appear.
See the SWT browser guide for which browsers will work.
SeaMonkey is reported to work well. Just install and then point into illa_five_home to/usr/lib/SeaMonkey. (read below for example of setting this variable)
To test to see if your browser is properly configured, selectWindow-> 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 Bug 80033.
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 browserPreferences-> 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<Home_directory>/. bashrc
, Adding the following 3 lines
Export illa_five_home =/usr/lib/mozilla-1.7.12 LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ export illa_five_home LD_LIBRARY_PATH
For Debian etch and newer use the following extends illa_five_home:
Export illa_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.Libstdc ++. so.5
Was being reported as missing. To solve this problem, findRpm
Online that will install the missing legacy library. In our case we found necessaryRpm
(Compat-libstdc ++-33-3.2.3-47.fc4.i386.rpm
) On rpmfind.net using their search facility. See also: Standard Widget Toolkit FAQ
[Edit] 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/eclipse
Folder and relaunching eclipse. (See Bug #172782)