problem in running java-mapscript

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Tue Oct 18 08:28:56 PDT 2005


On 10/18/05, orkun <temiz at deprem.gov.tr> wrote:
> hello
>
> I am new to java
>
> I am trying to run a javamapscript.
> But I am receiving an error message :
>
> import edu.umn.gis.mapscript.*;
>
> public class jeo2 {
>
>     public static void main(String[] args) {
>         try
>                 {
>                   System.loadLibrary("libmapscript.so");

it is "mapscript", not "libmapscript.so".

>                 }
>                 catch(UnsatisfiedLinkError ule)
>                 {
>                   System.err.println(ule);
>                   System.exit(-1);
>                 }
>
> java.lang.UnsatisfiedLinkError: no libmapscript.so in java.library.path
> what should library path be ?
>
> regards
>
> Ahmet Temiz
>
>
> ______________________________________
> XamimeLT - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster at deprem.gov.tr
> ______________________________________
> The views and opinions expressed in this e-mail message are the sender's own
> and do not necessarily represent the views and the opinions of Earthquake Research Dept.
> of General Directorate of Disaster Affairs.
>
> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.
>



More information about the MapServer-users mailing list