You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by co...@compuserve.de on 2007/02/02 12:43:34 UTC

how to add a library path in build.xml?

Dear all,

I want to run an application which requires a special native libray as
the following error shows: 

There was 1 error:
     [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError:
no jpl in java.library.path
     [java]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
     [java]     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
     [java]     at java.lang.System.loadLibrary(System.java:992)
     

This line tells me what my current library.path is: 
/usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386

I would like to add a new library path to the current one. How can I
specify that in build.xml?

Thank you in advance

Gop



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: how to add a library path in build.xml?

Posted by Mohsen Saboorian <mo...@gmail.com>.
-Djava.library.path=yourpath

On 2/2/07, compuin5y313@compuserve.de <co...@compuserve.de> wrote:
> Dear all,
>
> I want to run an application which requires a special native libray as
> the following error shows:
>
> There was 1 error:
>      [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError:
> no jpl in java.library.path
>      [java]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>      [java]     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>      [java]     at java.lang.System.loadLibrary(System.java:992)
>
>
> This line tells me what my current library.path is:
> /usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386
>
> I would like to add a new library path to the current one. How can I
> specify that in build.xml?
>
> Thank you in advance
>
> Gop
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: how to add a library path in build.xml?

Posted by David Delbecq <de...@oma.be>.
For execution classpath:
http://ant.apache.org/manual/CoreTasks/java.html

For compilation classpath:
http://ant.apache.org/manual/CoreTasks/javac.html

En l'instant précis du 02/02/07 12:43, compuin5y313@compuserve.de
s'exprimait en ces termes:
> Dear all,
>
> I want to run an application which requires a special native libray as
> the following error shows: 
>
> There was 1 error:
>      [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError:
> no jpl in java.library.path
>      [java]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>      [java]     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>      [java]     at java.lang.System.loadLibrary(System.java:992)
>      
>
> This line tells me what my current library.path is: 
> /usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386
>
> I would like to add a new library path to the current one. How can I
> specify that in build.xml?
>
> Thank you in advance
>
> Gop
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org