java -jamvm : error java.lang.UnsatisfiedLinkError
Running a Java application using jamvm which links a third party library is not able to link.
Java version used..
root@FX:/apps# java -jamvm -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-
JamVM (build 2.0.0, inline-threaded interpreter with stack-caching)
root@FX:/apps#
I have set LD_LIBRARY_PATH correctly.
root@FX:~# echo $LD_LIBRARY_PATH
/platform/lib/
root@FX:~#
root@FX:~# java -jamvm -jar /apps/RFIDSampl
Exception in thread "main" java.lang.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.eclipse.
Caused by: java.lang.
at com.mot.
at com.mot.
at com.mot.
at org.zebra.
at org.zebra.
at org.zebra.
... 5 more
root@FX:~#
While I am able to run a sample hello application...
root@FX:~# java -jamvm -jar /apps/hello.jar
Hello, World
Below is the verbose:jni log of linker error.
Dynamic-linking native method java.net.
[Dynamic-linking native method sun.misc.
[Dynamic-linking native method sun.misc.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method sun.misc.
[Dynamic-linking native method sun.misc.
[Dynamic-linking native method sun.misc.
[Dynamic-linking native method sun.nio.
[Dynamic-linking native method com.mot.
[Dynamic-linking native method java.io.
Exception in thread "main" [Dynamic-linking native method java.lang.
java.lang.
[Dynamic-linking native method java.lang.
[Dynamic-linking native method java.lang.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.eclipse.
Caused by: java.lang.
at com.mot.
at com.mot.
at com.mot.
at org.zebra.
at org.zebra.
at org.zebra.
... 5 more
[Dynamic-linking native method java.io.
root@FX:/apps#
I do not get the UnsatisfiedLink
root@FX:/apps# java -jar /apps/RFIDSampl
Connected to 127.0.0.1
.......
Welcome to RFID API3 Java Standard Sample Application
.......
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu openjdk-8 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: