Public bug reported:
Steps to reproduce:
- sudo apt-get install openjdk-8-jre imagej
- java /usr/share/java/ij.jar -ijpath $HOME/.imagej
--> works fine
- imagej
--> error:
Open other images in this ImageJ panel as follows:
imagej -p 1 <image1> [<image2> ... <imageN>]
No JVM found to run ImageJ
Please apt-get install a JVM to run ImageJ or
set JAVA_HOME if it's not a JVM from a Debian Package.
AFAICS the involved run file /usr/bin/imagej is the source of the problem, it
fails. With imagej -vv I can see, the local JAVA_HOME is not created properly:
+ (( 2 == 3 ))
+ getopts b:ce:hi:m:op:r:vx: options
+ declare -i i=1
+ (( i < 2 ))
+ shift
+ i=i+1
+ (( i < 2 ))
+ [[ -n '' ]]
+ (( 0 > 0 ))
+ pushd /home/ich/.imagej/tmp
+ declare -i count=1
+ portopen=false
+ lockFileCreated=false
+ locklist=(`ls | grep '[0-9][0-9]-.*'`)
++ ls
++ grep '[0-9][0-9]-.*'
+ declare -a locklist
+ (( 2 > 0 ))
+ echo -e 'locklist: \n '
locklist:
+ (( 0 > 0 ))
+ [[ true == \f\a\l\s\e ]]
+ [[ false == \f\a\l\s\e ]]
+ (( 0 == 0 ))
+ (( 0 == 0 ))
+ count=1
++ printf %02u 1
+ prefix=01
+ lockname=01-ich-ThinkPad-T500-:0
+ (( 2 > 0 ))
+ echo -n 'creating lock 01-ich-ThinkPad-T500-:0 ... '
creating lock 01-ich-ThinkPad-T500-:0 ... + touch 01-ich-ThinkPad-T500-:0
+ trap '\rm -f ${ij_tmp}/$lockname >/dev/null ; exit 1' EXIT TERM
+ (( 2 > 0 ))
+ echo done
done
+ lockFileCreated=true
+ echo 'Open other images in this ImageJ panel as follows:'
Open other images in this ImageJ panel as follows:
+ echo ' imagej -p 1 <image1> [<image2> ... <imageN>]'
imagej -p 1 <image1> [<image2> ... <imageN>]
+ (( 2 > 0 ))
+ echo 'Socket lock: 01-ich-ThinkPad-T500-:0'
Socket lock: 01-ich-ThinkPad-T500-:0
+ echo
+ popd
+ '[' -d /usr/share/imagej/jni/ ']'
+ '[' '' ']'
+ echo 'No JVM found to run ImageJ'
No JVM found to run ImageJ
+ echo 'Please apt-get install a JVM to run ImageJ or '
Please apt-get install a JVM to run ImageJ or
+ echo 'set JAVA_HOME if it'\''s not a JVM from a Debian Package.'
set JAVA_HOME if it's not a JVM from a Debian Package.
+ exit 1
+ rm -f /home/ich/.imagej/tmp/01-ich-ThinkPad-T500-:0
+ exit 1
** Affects: imagej
Importance: Undecided
Status: New
** Also affects: imagej
Importance: Undecided
Status: New
** No longer affects: wine (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611974
Title:
run file for ImageJ is broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/imagej/+bug/1611974/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs