tcnative-1.dll Can't load AMD 64-bit .dll on a IA 32-bit platform

前端 未结 7 578
南旧
南旧 2020-12-29 03:20

I\'m getting this error when I try to run tomcat:

"java.lang.UnsatisfiedLinkError: C:\\Program Files (x86)\\apache-tomcat-7.0.34\\bin\\tcnative-1.dll: Ca         


        
相关标签:
7条回答
  • 2020-12-29 03:44

    The problem I faced with some similar message is that I've created shared native library via swig on Linux machine (libmyLic.so) , copied it to Windows, and there was trying to run my java test. This test was supposed to use System.loadLibrary or System.load interface . It doesn't work, because swig created my shared native library (wrapping C++ code to java) for UNIX environment. when I copied all test to Linux it solves the problem.

    0 讨论(0)
提交回复
热议问题