Cannot load 32-bit SWT libraries on 64-bit JVM
2015-07-20 18:19
393 查看
!SESSION 2015-07-20 18:16:26.597 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product com.genuitec.myeclipse.product.ide
Command-line arguments: -product com.genuitec.myeclipse.product.ide -data package -dev file:D:/WorkSpace/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 2 0 2015-07-20 18:16:38.720
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2015-07-20 18:16:38.720
!MESSAGE Bundle reference:file:/E:/Program Files/myeclipse/plugins/com.genuitec.eclipse.core_12.0.0.me201311281640.jar was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.core 2 0 2015-07-20 18:16:38.720
!MESSAGE Missing native code match /lib/storage32.dll; processor=x86; osname=Win32.
!ENTRY org.eclipse.osgi 4 0 2015-07-20 18:16:38.834
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:263)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
An error has occurred. See the log file
E:\Program Files\myeclipse\package\.metadata\.log.
win7 64-bit下,Eclipse运行SWT程序报错:Cannot load 32-bit SWT libraries on 64-bit JVM
两种解决方案如下:
1.下载64位的swt包(相对方案2,稍微繁琐些)
2.运行配置 run configurations -> Main 选项卡 Java Runtime Environment 一栏,execution environment 或者Runtime JRE选择装入的32位jre
eclipse.buildId=unknown
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments: -product com.genuitec.myeclipse.product.ide
Command-line arguments: -product com.genuitec.myeclipse.product.ide -data package -dev file:D:/WorkSpace/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 2 0 2015-07-20 18:16:38.720
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2015-07-20 18:16:38.720
!MESSAGE Bundle reference:file:/E:/Program Files/myeclipse/plugins/com.genuitec.eclipse.core_12.0.0.me201311281640.jar was not resolved.
!SUBENTRY 2 com.genuitec.eclipse.core 2 0 2015-07-20 18:16:38.720
!MESSAGE Missing native code match /lib/storage32.dll; processor=x86; osname=Win32.
!ENTRY org.eclipse.osgi 4 0 2015-07-20 18:16:38.834
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:263)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
An error has occurred. See the log file
E:\Program Files\myeclipse\package\.metadata\.log.
win7 64-bit下,Eclipse运行SWT程序报错:Cannot load 32-bit SWT libraries on 64-bit JVM
两种解决方案如下:
1.下载64位的swt包(相对方案2,稍微繁琐些)
2.运行配置 run configurations -> Main 选项卡 Java Runtime Environment 一栏,execution environment 或者Runtime JRE选择装入的32位jre
相关文章推荐
- 《转》ceilometer的数据采集机制入门
- Facade Pattern
- 字符串 --- KMP Eentend-Kmp 自动机 trie图 trie树 后缀树 后缀数组
- linux使用crontab实现PHP执行定时任务(转)
- Iptables之layer7 -- l7及利用iptables的recent模块来抵御DOS攻击
- C语言在生活中的小应用
- Android 获取屏幕像素的方法
- 不要循环查询数据库
- 2015-7-20
- JAVA学习笔记之与C#对比
- 大神语录1 如何滑动fragmentmanager里面一个fragment里面的viewgroup---dispatchTouchEvent 、onInterceptTouchEvent 、onTouchEvent
- git commit 含有中文的代码,提示Warnning:Your console font probably doesn't support Unicode.......
- 前端MVVM框架怎么兼顾SEO
- [Usaco2008 Mar]土地购买
- Spring学习笔记(三):项目发布以及一些简单配置
- 基于构件的开发
- Linux 基础命令
- p/l sql developer 快捷键
- cocos2dx 3.0 它 使用std::bind更换CC_CALLBACK_N
- android 工具类: 将汉字转换