<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">Same problem was solved with</font>
<br><font size=2 face="sans-serif">http://article.gmane.org/gmane.comp.gis.mapserver.user/23752</font>
<br>
<br><font size=2 face="sans-serif">OK?</font>
<br><font size=2 face="sans-serif">Benedikt</font>
<br>
<br><tt><font size=2>UMN MapServer Users List <MAPSERVER-USERS@LISTS.UMN.EDU>
schrieb am 14.02.2007 06:42:12:<br>
<br>
> Hi All </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> Please help ............</font></tt>
<br><tt><font size=2>> below is my code to load mapscript and the error
i get ....</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> //code </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> try {
<br>
> System.loadLibrary("mapscript.dll");
//load native library<br>
> System.out.println("
* mapscript native library loaded *"); <br>
> } catch (Exception e) { <br>
> System.err.println("
* error loading native library *"); <br>
> System.err.println("Error
is: " + e); e.printStackTrace();
<br>
> } <br>
> </font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> <br>
> // Error </font></tt>
<br><tt><font size=2>> java.lang.UnsatisfiedLinkError: no mapscript.dll
in java.library.path</font></tt>
<br><tt><font size=2>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)</font></tt>
<br><tt><font size=2>> at java.lang.Runtime.loadLibrary0(Runtime.java:788)</font></tt>
<br><tt><font size=2>> at java.lang.System.loadLibrary(System.java:834)</font></tt>
<br><tt><font size=2>> at test.TestMapscript.main(TestMapscript.java:27)</font></tt>
<br><tt><font size=2>> Exception in thread "main" </font></tt>
<br><tt><font size=2>> Java Result: 1</font></tt>