Java MapScript on windows

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Tue Mar 27 10:22:38 EDT 2007


On 3/27/07, Gilbert, Antoine <AGilbert at korem.com> wrote:
> Hi
> I'm new to MapServer. I have installed the windows version and some samples
> and this is working.
> Now what I am trying is to use Java MapScript.
> I made a Java test application (not a Web one) using mapscript.jar and
> mapscript.dll coming from
> \ms4w\Apache\cgi-bin\mapscript\java
> I m getting this error message :
> Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
> Files\Java\jdk1.5.0_09\jre\bin\mapscript.dll: Can't find
> dependent libraries

The linker is saying that the dlls mapscript.dll depends on or perhaps
mapscript.dll itself are not found in path. The solution is to add
them to the path.

Umberto



More information about the mapserver-users mailing list