problem in running java-mapscript

Fernando Simon fsimon at UNIVALI.BR
Tue Oct 18 15:08:40 EDT 2005


Hi Orkun,
    The Java will read the lib from classpath.
    So you need to put your lib in path that java can read, or in the 
lib system path (if it's appear in classpath).
    Regards

------------------------------------------------------------------------
Fernando Simon
Mapserver and Oracle Spatial developer
G10 - Laboratorio de Computacao Aplicada - Brazil
http://www.univali.br/g10 - UNIVALI/CTTMAR
------------------------------------------------------------------------


orkun 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");
>                }
>                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