Solution for Ubuntu 14.04 under Eclipse 3.7.2 cannot start, reported could not detect registered XULRunner for use or org.eclipse.swt.SWTError:XPCOM issues such as handling

Source: Internet
Author: User

For Eclipse 3.7.2 to start in Ubuntu 14.04, you need to

Add a line to the Config.ini file in the Eclipse/configuration directory Org.eclipse.swt.browser.defaulttype=mozilla

#This configuration file is written by: Org.eclipse.equinox.internal.frameworkadmin.equinox.equinoxfwconfigfileparser#thu Jan 11:18:24 CST 2015org.eclipse.update.reconcile=falseeclipse.p2.profile=epp.package.jee[email protected]/ Workspaceosgi.framework=file\:p lugins/org.eclipse.osgi_3.7.2.v20120110-1415.jarequinox.use.ds= trueeclipse.buildid=m20120208-0800org.eclipse.swt.browser.defaulttype=mozillaosgi.bundles=reference\:file\:or[ Email protected]1\:startorg.eclipse.equinox.simpleconfigurator.configurl=file\:o Rg.eclipse.equinox.simpleconfigurator/bundles.infoeclipse.product=org.eclipse.platform.ideosgi.splashpath= Platform\:/base/plugins/org.eclipse.platformosgi.framework.extensions=reference\:file\:javax.transaction_ 1.1.1.v201105210645.jarosgi.bundles.defaultstartlevel=4[email protected]/. /p2/eclipse.application=org.eclipse.ui.ide.workbench

  

This will not be an error when you start this is my google came out I can not explain why.

When you click on the embedded browser or Webservie browser, the error is not reflected when you start the external browser outside the current form.

Additionally edit JSP times wrong Could not detect registered XULRunner to use

These are all because the embedded browser for Eclipse is not in effect.

We should do this.

To an Eclipse 3.7.2 version

Please go to http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/03/2012-03-02-03-32-11-mozilla-1.9.2/. xulrunner-1.9.2.28pre.en-us.linux-x86_64.tar.bz2

Download xulrunner-1.9.2.28pre.en-us.linux-x86_64.tar.bz2

Unzip to a suitable problem such as I extracted to the/opt/commontools/under the/opt/commontools/there is a xulrunner directory.

[Email protected]:/opt/commontools$ ls-l total dosage 43176drwxrwxr-x tone tone     4096 December 12:35 ANDROID-SDK-LINUXDRWXR-XR -X  6 root root     4096 November 11:08 apache-ant-1.9.3drwxr-xr-x  7 root root     4096 November apache-maven-3.2 .2drwxr-xr-x  9 root root     4096 October  9  jdk1.5.0_22-rwxr-xr-x  1 root root 44191305  January 13 16:16 jdk-1_5_0_22-linux-amd64.bindrwxr-xr-x root root     4096  March  2  XULRunner

The next boundary Eclipse configuration file. Eclipse.ini Add a row-dorg.eclipse.swt.browser.xulrunnerpath=/opt/commontools/xulrunner

-Startupplugins/org.eclipse.equinox.launcher_1.2.0. V20110502.jar--Launcher.libraryplugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100. v20110505-productorg.eclipse.epp.package.jee.product--Launcher.defaultactionopenfile-Showsplashorg.eclipse.platform--launcher. xxmaxpermsize256m--Launcher.defaultactionopenfile-Vmargs-djava.library.path=/usr/lib/x86_64-linux-gnu/JNI-dorg.eclipse.swt.browser.xulrunnerpath=/opt/commontools/XULRunner-dosgi.requiredjavaversion=1.5-xx:maxpermsize=256m-xms40m-xmx512m

After the above error your eclipse is harmonious, the effect is as follows:

Workaround for could not detect registered XULRunner to use or Org.eclipse.swt.SWTError:XPCOM (install XULRunner) for the latest MyEclipse 2014 depending on Effective

Solution for Ubuntu 14.04 under Eclipse 3.7.2 cannot start, reported could not detect registered XULRunner for use or org.eclipse.swt.SWTError:XPCOM issues such as handling

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.