Originally posted by: FloS
Hello,
when I run a java-file, that's using the oil library (ilog.opl.*) it stops with an Exception:
Native code library failed to load: ensure the appropriate library (opl<VERSION>.dll/.so) is in your path.
Exception in thread "main" java.lang.ExceptionInInitializerError
at ilog.concert.cppimpl.IloEnv.<init>(IloEnv.java:49)
at ilog.opl.IloOplFactory.<init>(IloOplFactory.java:70)
at Evprofile.getOptimalChargingAmounts(Evprofile.java:212)
at LocationalPricingMain.simulation(LocationalPricingMain.java:120)
at LocationalPricingMain.main(LocationalPricingMain.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.lang.RuntimeException: Native code library failed to load: ensure the appropriate library (opl<VERSION>.dll/.so) is in your path.
at ilog.concert.IloJNILoader.loadJNI(IloJNILoader.java:79)
at ilog.concert.cppimpl.concert_wrapJNI.<clinit>(concert_wrapJNI.java:15)
... 10 more
This problem could be triggered by working together with windows users sharing the same folder (in fact i'm trying to import the project).
Any ideas?
Thanks!
#CPLEXOptimizers#DecisionOptimization