Eclipse boot error cannot load 64-bit SWT libraries on 32-

Source: Internet
Author: User

System Environment: Win7-64bit

Error log:. \eclipse\configuration\xxx.log error is as follows:

! session 2015-06-19 10:13:27.162 -----------------------------------------------eclipse.buildid= 4.3.0.i20130605-2000java.version=1.8.0_45java.vendor=oracle corporationbootloader constants: os =win32, arch=x86_64, ws=win32, nl=zh_cnframework arguments:  -product  org.eclipse.epp.package.standard.productcommand-line arguments:  -os win32 -ws  win32 -arch x86_64 -product org.eclipse.epp.package.standard.product! entry org.eclipse.osgi 4 0 2015-06-19 10:13:28.174! message application error! Stack 1java.lang.unsatisfiedlinkerror: cannot load 64-bit swt libraries on  32-bit jvmat org.eclipse.swt.internal.library.loadlibrary (library.java:260) at  Org.eclipse.swt.internal.Library.loadLibrary (library.java:240) at org.eclipse.swt.internal.c.<clinit > (c.java:21) at org.eclipse.swt.widgets.diSplay.<clinit> (display.java:138) At org.eclipse.ui.internal.workbench.createdisplay (Workbench.java : 675) At org.eclipse.ui.platformui.createdisplay (platformui.java:162) at  Org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay (ideapplication.java:154) at  Org.eclipse.ui.internal.ide.application.IDEApplication.start (ideapplication.java:96) at  Org.eclipse.equinox.internal.app.EclipseAppHandle.run (eclipseapphandle.java:196) at  Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (eclipseapplauncher.java:110) at  org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start (eclipseapplauncher.java:79) at  Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:354) at  Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:181) at  SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native method) at  Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown source) At sun.Reflect. Delegatingmethodaccessorimpl.invoke (Unknown source) At java.lang.reflect.method.invoke (Unknown  Source) at org.eclipse.equinox.launcher.main.invokeframework (main.java:636) at  Org.eclipse.equinox.launcher.Main.basicRun (main.java:591) At org.eclipse.equinox.launcher.main.run ( main.java:1450) At org.eclipse.equinox.launcher.main.main (main.java:1426)

Error Analysis:

    1. First through the error appears, the JVM thing 32bit, does not meet the requirements of the 64bit program.

    2. View Catalog: C:\ProgramData\Oracle\Java\javapath\

The following three shortcuts: Java.exe, Javaw.exe, Javaws.exe, view the jre\bin\ with its properties of jdk1.8 32bit under three shortcuts for executing programs with the same name.

How to resolve:

Install the 32bit JRE in the machine, create a shortcut for its jre/bin/under the three-name execution program, and copy the shortcut to C:\ProgramData\Oracle\Java\javapath\, replacing the original.

Restart Eclipse, success.







Eclipse boot error cannot load 64-bit SWT libraries on 32-

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.