Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am new in fuzzy ontology and have to use FuzzyDL which required installing Gurobi 4.6.1 program. After I installed the program and set the academic license and set the environment correctly, I see I am able to run the Gurobi shell. When I run the Fuzzy test file (to check the given test to see everything in program are set correctly) I see the following error:

C:\FuzzyDL>java -cp gurobi.jar;FuzzyDL.jar fuzzydl.parser.Parser ./test2.txt
Exception in thread "main" java.lang.UnsatisfiedLinkError: no GurobiJni45 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at gurobi.GurobiJni.<clinit>(GurobiJni.java:164)
        at gurobi.GRBEnv.<init>(GRBEnv.java:15)
        at gurobi.GRBEnv.<init>(GRBEnv.java:11)
        at fuzzydl.milp.MILPHelper.solveGurobi(MILPHelper.java:600)
        at fuzzydl.milp.MILPHelper.optimize(MILPHelper.java:86)
        at fuzzydl.knowledgeBase.optimize(knowlegdeBase.java:4407)
        at fuzzydl.MinSubSumesQuery.solve(MinSubsumesQuery.java:52)
        at fuzzydl.parser.parser.main(parser.java:65)

I install the programs in 2 different computers and I have the same problem. I really don’t know what else I can do. I would appreciate any advice on this!

Many Thanks,
Farhad.
Posted
Updated 24-Jul-12 9:50am
v3
Comments
Richard MacCutchan 24-Jul-12 15:51pm    
You have a reference somewhere to GurobiJni45 but it cannot be found by the Java runtime. Find this class or library and make sure it is loaded in the same directory as your Java libraries.
Rob Wik 27-Feb-13 3:40am    
Also, there might be an issue if you are using a version of fuzzyDL that only supports version 4.5 of Gurobi. If you have a newer version installed, for instance, Gurobi 5.0, it will also cause this error.

This should, however, be solved in the new version released in 2013.
Richard MacCutchan 27-Feb-13 4:26am    
Very interesting but I think this message would be of more interest to the originator of this question. Although after 7 months I doubt it.
Rob Wik 27-Feb-13 6:12am    
Hah, true. I agree that the original poster is probably not looking for an answer anymore. I posted it again, as an answer, so maybe the asker gets an notificiation-email then?

1 solution

Also, there might be an issue if you are using a version of fuzzyDL that only supports version 4.5 of Gurobi. If you have a newer version installed, for instance, Gurobi 5.0, it will also cause this error.

This should, however, be solved in the new version released in 2013.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900