: Can't load AM D 64-bit .dll on a IA 32-bit platf

SEVERE: Cannot find specified temporary folder at D:\tomcat\temp
java.lang.UnsatisfiedLinkError: D:\asmm\bin\tcnative-1.dll: Can't load AM
D 64-bit .dll on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)64-bit .dll on a IA 32-bit platform
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
      at java.lang.Runtime.loadLibrary0(Runtime.java:845)
      at java.lang.System.loadLibrary(System.java:1084)
      at org.apache.tomcat.jni.Library.<init>(Library.java:40)
      at org.apache.tomcat.jni.Library.initialize(Library.java:172)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce java


jdk版本不對,tomcat是64bit,而jdk是32bit,雖然程序能夠正常啓動可是當你想把這個tomcat註冊成服務的時候就不能夠註冊了。解決辦法就是更換jdk的版本爲64bit的 apache

相關文章
相關標籤/搜索