Tomov, Stefan
2012-10-17 09:29:43 UTC
Hello,
i'm currently setting up an application using Prolog and Java that i need to code against.
The first problem encountered was the "no jpl in java.library.path" - problem.
It was solved through setting the -Djava.library.path="" - argument for the swipl/ bin and swipl/lib folders.
However, the subsequent problem is making me crazy.
It states:
java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\swipl\bin\jpl.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
....
I wasn't able to find a working solution for this problem in the web.
Someone says, that the swipl.dll need to be in the classpath. I can't find this file at all!?
But at the moment i have no idea why this problem comes. Did i forgot to specify some paths? Or is a .dll specified in -Djava.library.path not able to load another .dll ??
(I'm working on a computer on which i cannot change the system variables)
Would be so so glad if anyone could help with this problem. IÄm becoming really desperate :/
Greetings and thanks in advance
Stefan
i'm currently setting up an application using Prolog and Java that i need to code against.
The first problem encountered was the "no jpl in java.library.path" - problem.
It was solved through setting the -Djava.library.path="" - argument for the swipl/ bin and swipl/lib folders.
However, the subsequent problem is making me crazy.
It states:
java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\swipl\bin\jpl.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
....
I wasn't able to find a working solution for this problem in the web.
Someone says, that the swipl.dll need to be in the classpath. I can't find this file at all!?
But at the moment i have no idea why this problem comes. Did i forgot to specify some paths? Or is a .dll specified in -Djava.library.path not able to load another .dll ??
(I'm working on a computer on which i cannot change the system variables)
Would be so so glad if anyone could help with this problem. IÄm becoming really desperate :/
Greetings and thanks in advance
Stefan