[gecode-users] Using GecodeJ with Eclipse
Guido Tack
tack at ps.uni-sb.de
Tue Sep 2 08:10:48 CEST 2008
Joao Guerreiro wrote:
> I'm having the same problem, I'm trying to make it run on windows
> using
> Netbeans and I have the error :
>
> "Gecode native code library failed to load.
> java.lang.UnsatisfiedLinkError: no gecodej in java.library.path"
>
> I added the GecodeJ.jar on my project libraries.
>
> Does anyone have some information ? Do I need the set the environment
> variable PATH to something ? Or setting the VM options to something
> like
> : -Djava.library.path="..." ?
It's trying to find Gecodej.dll, which should be installed in <Program
Files>/Gecode/bin (I assume you're using the Windows installer
package). I think that directory should be on the PATH already, I
guess you'll have to put it on the java.library.path as well (using
the -D switch you suggested).
Cheers,
Guido
More information about the gecode-users
mailing list