Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bi
2016-12-21 16:30
711 查看
win7 64-bit下,Eclipse运行SWT程序报错:Cannot load 32-bit SWT libraries on 64-bit JVM
两种解决方案如下:
1.下载64位的swt包(相对方案2,稍微繁琐些)
2.下载32位的vm
2.1:下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2.2:安装32位的JVM,Window -> Preferences -> Java -> Installed JRE's,指向解压缩文件
2.3:运行配置 run configurations -> Main 选项卡 Java Runtime
Environment 一栏,execution environment 或者Runtime JRE选择装入的32位jre
两种解决方案如下:
1.下载64位的swt包(相对方案2,稍微繁琐些)
2.下载32位的vm
2.1:下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2.2:安装32位的JVM,Window -> Preferences -> Java -> Installed JRE's,指向解压缩文件
2.3:运行配置 run configurations -> Main 选项卡 Java Runtime
Environment 一栏,execution environment 或者Runtime JRE选择装入的32位jre
相关文章推荐
- Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\VsProjects\T\Debug\T.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
- Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.spri
- Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library
- Exceptionin thread "main" java.lang.UnsatisfiedLinkError:org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArray(II[BI[BIILjav
- Exception in thread "main" java.lang.IllegalStateException: Cannot get a text value from a numeric c
- Starting elasticsearch: Exception in thread "main" java.lang.IllegalStateException: Could not load p
- Exception in thread "main" java.lang.ClassCastException: java.math.BigDecimal cannot be cast to ja
- Cannot load 32-bit SWT libraries on 64-bit JVM,SDK Manager不能启动。
- Eclipse错误:Cannot load 32-bit SWT libraries on 64-bit JVM
- Cannot load 32-bit SWT libraries on 64-bit JVM
- Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lan
- Scala 安装 Exception in thread "main" java.lang.VerifyError: Uninitialized object exists on backward branch 96
- Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljav
- Exceptionin thread "main" java.lang.UnsatisfiedLinkError:org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArray(II[BI[BIILjava
- Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
- Exception in thread "main" java.lang.IllegalArgumentException: node to traverse cannot be null!
- Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/Synchronization
- Jbpm发邮件抛出Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- 安装oralce后在cmd模式下运行java命令出错:Exception in thread "main" java.lang.UnsupportedClassVersionError: org/getopt/luke/Luke (Unsupported
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream