Re: JAR, JNI and libraries
- From: Gordon Beaton <not@xxxxxxxxx>
- Date: 30 Sep 2005 11:11:08 +0200
On Fri, 30 Sep 2005 10:51:39 +0200, Marcelo wrote:
> 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");
AFAIK your only option (someone please correct me otherwise) is to
copy the file from the jar to the local file system before attempting
to load it.
/gordon
--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.
- References:
- JAR, JNI and libraries
- From: Marcelo
- 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: JAR, JNI and libraries
- Next by thread: Re: JAR, JNI and libraries
- Index(es):
Relevant Pages
|