Re: JAR, JNI and libraries
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 09:22:59 GMT
On Fri, 30 Sep 2005 10:51:39 +0200, Marcelo <info@xxxxxxxxxxxx> wrote
or quoted :
> >>jar ft prompt.jar
>META-INF/
>META-INF/MANIFEST.MF
>Prompt.class
>libPrompt.so
>
>and the System.loadLibrary("Prompt");
I have done it with JAWS, but I don't know if it is legal otherwise.
With JAWS it is quite slick. You can put in BOTH a DLL for windows and
a libxxx.so for Linux and JAWS will load the correct one for the
platform. You tell JAWS what you have in a resource statement in your
JNLP file.
I would put Prompt in a package. libPrompt.so would NOT go in one.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- References:
- JAR, JNI and libraries
- From: Marcelo
- JAR, JNI and libraries
- Prev by Date: Ping Class java
- Next by Date: Re: File.setLastModified() question
- Previous by thread: Re: JAR, JNI and libraries
- Next by thread: Ping Class java
- Index(es):
Relevant Pages
|