Java Mapscript

Benedikt Rothe umn-ms at HYDROTEC.DE
Tue Feb 13 23:18:08 PST 2007


Hi

Same problem was solved with
http://article.gmane.org/gmane.comp.gis.mapserver.user/23752

OK?
Benedikt

UMN MapServer Users List <MAPSERVER-USERS at LISTS.UMN.EDU> schrieb am 
14.02.2007 06:42:12:

> Hi All 
> 
> 
> Please help ............
> below is my code to load mapscript and the error i get ....
> 
> 
> 
> //code 
> 
> try { 
>            System.loadLibrary("mapscript.dll"); //load native library
>             System.out.println(" * mapscript native library loaded *"); 
>        } catch (Exception e) { 
>            System.err.println(" * error loading native library *"); 
>            System.err.println("Error is: " + e); e.printStackTrace(); 
>        } 
> 
> 
> 
> // Error 
> java.lang.UnsatisfiedLinkError: no mapscript.dll in java.library.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>         at java.lang.System.loadLibrary(System.java:834)
>         at test.TestMapscript.main(TestMapscript.java:27)
> Exception in thread "main" 
> Java Result: 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070214/5c0f4018/attachment.htm>


More information about the MapServer-users mailing list