M
Marcelo
How Can i include a library inside a JAr file ?
I have a jar file like this:
META-INF/
META-INF/MANIFEST.MF
Prompt.class
libPrompt.so
and the System.loadLibrary("Prompt");
but I get the error:
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
I have a jar file like this:
META-INF/
META-INF/MANIFEST.MF
Prompt.class
libPrompt.so
and the System.loadLibrary("Prompt");
but I get the error:
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