CPLEX TOOL使用Eclipse Editor与JAVA集成

时间:2014-11-21 06:57:11

标签: java

如何解决CPLEX与JAVA集成的错误:

java.lang.UnsatisfiedLinkError: C:\Windows\System32\cplex124.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
java.library.path must point to the directory containing the CPLEX shared library
try invoking java with java -Djava.library.path=...
Exception in thread "main" java.lang.UnsatisfiedLinkError: ilog.cplex.Cplex.CPXopenCPLEX([I)J
    at ilog.cplex.Cplex.CPXopenCPLEX(Native Method)
    at ilog.cplex.CplexI.init(CplexI.java:5722)
    at ilog.cplex.CplexI.<init>(CplexI.java:611)
    at ilog.cplex.IloCplex.<init>(IloCplex.java:10384)
    at Sample.main(Sample.java:10)

0 个答案:

没有答案