docomscope fails to start UnsatisfiedLinkError: no jInterface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dicomscope (Debian) |
Fix Released
|
Unknown
|
|||
dicomscope (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I get the following error at startup:
dicomscope
starting DICOMscope
please wait...
Exception in thread "main" java.lang.
at java.lang.
at java.lang.
at java.lang.
at main.MainContex
at dicomscope.
This error is the same for all tested java versions (see at bottom).
file $(which dicomscope)
/usr/bin/
The deb installs the lib here:
/usr/lib/
dicomscope can successfully be started like this:
java -Djava.
The related bugreport in Debian states the problem not being in dicomscope, but binfmt/java package:
https:/
The small program there reveals:
java GetSystemProperty java.library.path
:/home/
which may be missing /usr/lib/
A start script could be written instead of linking dicomscope directly to the jar, that resolves
-Djava.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Tested java versions:
java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
java version "1.7.0_121"
OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-
OpenJDK 64-Bit Server VM (build 24.121-b00, mixed mode)
java -version
java version "1.6.0_40"
OpenJDK Runtime Environment (IcedTea6 1.13.12) (6b40-1.
OpenJDK 64-Bit Server VM (build 23.40-b40, mixed mode)
Changed in dicomscope (Debian): | |
status: | Unknown → Incomplete |
Changed in dicomscope (Debian): | |
status: | Incomplete → Fix Released |
I also tested (unsuccessfully) with
LD_LIBRARY_ PATH=/usr/ lib/x86_ 64-linux- gnu/jni/ :$LD_LIBRARY_ PATH