Decision Optimization

Decision Optimization

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


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

CPLEX Academic 12.5.1, Ubuntu 12.04, eclipse, Java API, Setup

  • 1.  CPLEX Academic 12.5.1, Ubuntu 12.04, eclipse, Java API, Setup

    Posted 12/04/13 07:01 AM

    Originally posted by: CBird


    I am trying to get CPLEX Academic version 12.5.1 to work with the Java API on an Ubuntu 12.04 - 64 bit machine.

    CPLEX was installed from the file "cplex_studio1251.linux-x86-64.bin". The installation was successful and it is possible to start Optimization Studio.

    I imported a small tested project into eclipse, added cplex.jar to the classpath. Then I located the binary libraries and started the program with:

    -d64 -Djava.library.path= /opt/ibm/ILOG/CPLEX_Studio1251/cplex/bin/x86-64_sles10_4.1

    as vm arguments.

    This results in the following error message:

    Error: Could not find or load main class .opt.ibm.ILOG.CPLEX_Studio1251.cplex.bin.x86-64_sles10_4.1

    What might be the problem here?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX Academic 12.5.1, Ubuntu 12.04, eclipse, Java API, Setup

    Posted 12/04/13 07:27 AM

    Do you really have a blank after -Djava.library.path=? If so then I guess this is the error. Try removing that blank.


    #CPLEXOptimizers
    #DecisionOptimization