JAR, JNI and libraries
- From: Marcelo <info@xxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 10:51:39 +0200
How Can i include a library inside a JAr file ? I have a jar file like this:
>>jar ft prompt.jar META-INF/ META-INF/MANIFEST.MF Prompt.class libPrompt.so
and the System.loadLibrary("Prompt");but I get the error:
>> java -jar prompt.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: no Prompt in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at Prompt.<clinit>(Prompt.java:14)
help please
Marcelo .
- Follow-Ups:
- Re: JAR, JNI and libraries
- From: Roedy Green
- Re: JAR, JNI and libraries
- From: Gordon Beaton
- Re: JAR, JNI and libraries
- Prev by Date: Re: Is there a way to use String[] as a Set??
- Next by Date: Re: Is there a way to use String[] as a Set??
- Previous by thread: Re: Is there a way to use String[] as a Set??
- Next by thread: Re: JAR, JNI and libraries
- Index(es):
Relevant Pages
|