我有一個 Windows 2003 64 位元終端伺服器,我們在其中執行 Java 應用程式。直到2天前該申請一直有效。在此時間範圍內,伺服器上沒有安裝任何新的更新。我已經嘗試重新安裝 java 64 位,但仍然出現以下錯誤。
Unexpected exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
**Caused by: java.lang.UnsatisfiedLinkError: C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\cache\6.0\19\625835d3-5826d302-n\swt-win32-3116.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.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:563)
at org.eclipse.swt.widgets.Display.init(Display.java:1784)
at org.eclipse.swt.graphics.Device.<init>(Device.java:99)
at org.eclipse.swt.widgets.Display.<init>(Display.java:363)
at org.eclipse.swt.widgets.Display.<init>(Display.java:359)
at com.ko.StartKO.main(StartKO.java:57)
... 9 more
答案1
答案2
“無法在 AMD 64 位元平台上載入 IA 32 位元 .dll”
有些東西改變了。
嘗試:
- 清除快取
- 找到該 DLL 的 64 位元版本
- 從備份恢復以查看發生了什麼變化