我正在尝试在我的电脑上安装 QTJambi,win7 64 位。
它不重复:在 Windows 64 位系统上安装 QT Jambi 时遇到问题,因为我的问题是没有加载 64 位 JVM,并且我已将 JAVA_HOME 设置为指向 Program files (x86) 文件夹中的 32 位 JDK。
运行 qtjambi.bat 时
我得到以下异常:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.trolltech.qt.QtJambiObject.<clinit>(Unknown Source)
Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via 'java.libr
ary.path'
Loading library: 'QtCore4.dll'...
- using 'java.library.path'
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(Unkn
own Source)
at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(Unknown
Source)
at com.trolltech.qt.Utilities.loadQtLibrary(Unknown Source)
at com.trolltech.qt.Utilities.loadQtLibrary(Unknown Source)
at com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(Unknown Source)
... 1 more
Caused by: java.lang.UnsatisfiedLinkError: C:\qtjambi-4.7.1\bin\QtCore4.dll: Can
't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.Runtime.load(Unknown Source)
at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(Unk
nown Source)
... 6 more
嗯,我认为的妙语是:
Can't load IA 32-bit .dll on a AMD 64-bit platform
我能做些什么?
请帮助提供详细的答案,我正在尝试按照互联网上的说明进行两天,但没有一个足够详细,目前我什至无法开始查看 QTJambi。