0
我已經在其操作系統爲Red Hat Linux的服務器上安裝了用於Linux的IBM ILOG v12.2。我編寫的Java接口,當我在服務器上運行它,以下錯誤顯示:適用於IBM ILOG的Java接口
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.concert_wrap.setDebugWrappers(concert_wrap.java:34)
at ilog.opl.IloOplFactory.setDebugMode(IloOplFactory.java:152)
at MainNetworkVirtulization.main(MainNetworkVirtulization.java:185)
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)
... 3 more
Java Result: 1
順便說一句,這個Java接口的代碼運行在我的其他的Windows筆記本電腦的罰款。有誰知道如何糾正上述錯誤?謝謝!
謝謝!它解決了我的問題! – Wilson 2013-03-20 20:19:13