Under Windows, you should add SICStus Prolog's and Java's DLL
directories to your %PATH%
. This will enable Windows library
search method to locate all relevant DLLs. For SICStus, this is the same
as where sicstus.exe is located, usually
C:\Program Files\SICStus Prolog 4.2.1\bin
.
For Java 1.5, it is usually
C:\Program Files\Java\jdk1.5.0_15\jre\bin\client.
For example:
C:\> set PATH="C:\Program Files\Java\jdk1.5.0_15\jre\bin\client;%PATH%" C:\> set PATH="C:\Program Files\SICStus Prolog 4.2.1\bin;%PATH%"
To make this change permanent under Windows XP, you would use the ‘Advanced’ tab in the ‘System’ Control Panel. Consult your OS documentation for details.