[Linux-programlama] java da bir jar dosyası sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: orkun (temiz@deprem.gov.tr)
Date: Wed 19 Oct 2005 - 12:33:37 EEST


merhaba

yeni bir java kullanıcısı olarak
bir jar dosyasını (mapscript.jar) yüklemek istiyorum.

public class jeo2 {

    public static void main(String[] args) {
        try
                {
                  System.loadLibrary("mapscript");
                }
                catch(UnsatisfiedLinkError ule)
                {
                  System.err.println(ule);
                  System.exit(-1);
                }

kütüphane dosyasını bulamadığını söylüyor:
java.lang.UnsatisfiedLinkError: no mapscript in java.library.path

Ancak eclipsde yeniden kontrol ettim mapscript.jar dosyası doğru yerde.

<classpath>
   <classpathentry kind="src" path=""/>
   <classpathentry exported="true" kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
   <classpathentry exported="true" kind="lib"
path="/usr/local/postgresql.jar"/>
   <classpathentry exported="true" kind="lib"
path="/usr/local/mapscript.jar" />
   <classpathentry kind="output" path=""/>
</classpath>

örneğin postgresql.jar de bir sorun yok.

sorun ne olabilir ?

saygılar

Ahmet Temiz

______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@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.

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.