往jdk/bin目录中增加tcnative-1.dll文件以后报错 Can't load AMD 64-bit .dll on a IA 32-bit platform
Posted 我们的问题主要是读书不多而想得太多
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了往jdk/bin目录中增加tcnative-1.dll文件以后报错 Can't load AMD 64-bit .dll on a IA 32-bit platform相关的知识,希望对你有一定的参考价值。
开始时,运行Tomcat控制台报错:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/i386/server:/usr/local/jdk1.6.0_26/jre/lib/i386:/usr/local/jdk1.6.0_26/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
根据文档“http://blog.csdn.net/isea533/article/details/7624056/”,将tcnative-1.dll文件放入jdk/bin目录,结果报错:
Can‘t load AMD 64-bit .dll on a IA 32-bit platform
只好安装64/32位的Tomcat以后,但是依旧报错。于是将tcnative-1.dll文件删除,结果两个错误都没了,问题解决了。
以上是关于往jdk/bin目录中增加tcnative-1.dll文件以后报错 Can't load AMD 64-bit .dll on a IA 32-bit platform的主要内容,如果未能解决你的问题,请参考以下文章
Linux下安装jdk报Permission denied以及chmod详解
[踩坑]elasticsearch-7.12.1 启动报错could not find java in bundled JDK at /opt/elasticsearch-7.12.1/jdk/bin