Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Java CPLEX Error - Can't load IA 64-bit .dll on a AMD 64-bit platform

  • 1.  Java CPLEX Error - Can't load IA 64-bit .dll on a AMD 64-bit platform

    Posted 03/03/14 11:22 PM

    Originally posted by: KevinHung


    Hi, I've installed the cplex9.1 for my computer in 64-bit version of Windows8.

    And the version of the cplex is also 64-bit version. I've already added jar of the cplex in my library.

    But problem is that I can't run my program. (program is performed in NetBeans IDE7.4 and Eclipse)

    These information just keep popping up...

    java.lang.UnsatisfiedLinkError: C:\ILOG\CPLEX91\bin\ia64_win64\cplex91.dll: Can't load IA 64-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:3745)
    at ilog.cplex.CplexI.<init>(CplexI.java:287)
    at ilog.cplex.IloCplex.<init>(IloCplex.java:8999)
    at cplextest.CPLEXtest.main(CPLEXtest.java:9)
    Java Result: 1

    Also my Java's version is 64-bit version. Original 32-bit version had been deleted.

    These problem has been bother me for a long while. I'm trying to solve TSP problem for my project of Large-scale optimization.

    How can I solve it and make it functional? There is a transcript of program. Even that easy can not be run...


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Java CPLEX Error - Can't load IA 64-bit .dll on a AMD 64-bit platform

    Posted 03/04/14 01:29 AM

    Looks like you have installed an Itanium version of CPLEX which is not compatible with your AMD computer.

    Is there any reason you use the 9 year old version of CPLEX? Any chance you can switch to a more recent version of CPLEX (12.6 is the newest). This will probably not only solve the issue you describe above but also solve your problems much faster.


    #CPLEXOptimizers
    #DecisionOptimization