Originally posted by: MAYMA
Dear support, I have installed cplex.jar correctly, i introduced it in my application which developed by java in netbeans, the programs work well, but i can't resolve the problem, when i run the compiled code, i get this message:
‹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:5358)
at ilog.cplex.CplexI.<init>(CplexI.java:525)
at ilog.cplex.IloCplex.<init>(IloCplex.java:9229)
at ACVRP_without_y.main(ACVRP_without_y.java:317)
java.lang.UnsatisfiedLinkError: no cplex121 in java.library.path
java.library.path must point to the directory containing the CPLEX shared library
try invoking java with java -Djava.library.path=...
i read your answer that you say 'If the problem occurs when running the compiled code, add the same path to the library path option in the command line (-Djava.library.path=...). ' but i don't understand how i could do that and where i found the command line
thank you
#CPLEXOptimizers#DecisionOptimization