: 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


jdk版本不对,tomcat是64bit,而jdk是32bit,虽然程序可以正常启动但是当你想把这个tomcat注册成服务的时候就不可以注册了。解决办法就是更换jdk的版本为64bit的

你可能感兴趣的:(注册tomcat为服务)