码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-04-15 11:39:19      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:

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的

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

标签:

原文地址:http://my.oschina.net/u/1271447/blog/401658

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!