Bug#732222: Bug#732222: imagej: does not "see" present JAVA
On 12/16/2013 01:47 PM, Martin Weiser wrote: > Andreas Tille píše v Po 16. 12. 2013 v 13:33 +0100: >> Hi Martin, >> >> On Mon, Dec 16, 2013 at 12:55:33PM +0100, Martin Weiser wrote: >>> Dear friends, >>> >>> maybe there is something else involved (should I open another bug?), as >>> Olivier's workaround helps only partially: >>> >>> me@here:~$ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 >>> me@here:~$ echo $JAVA_HOME >>> /usr/lib/jvm/java-1.7.0-openjdk-i386 >>> me@here:~$ imagej >>> Open other images in this ImageJ panel as follows: >>> imagej -p 1 [ ... ] >>> >>> Exception in thread "main" java.awt.HeadlessException >>> at >>> java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) >>> at java.awt.Window.(Window.java:535) >>> at java.awt.Frame.(Frame.java:420) >>> at ij.ImageJ.(ImageJ.java:129) >>> at ij.ImageJ.main(ImageJ.java:597) >>> >>> Any advice? >>> Once again: thank you for your patience. You may be running an application that requires a graphical mode in non graphical environment. There is an option in java to run in headless mode (when no graphics are available): java -Djava.awt.headless=true Please update the imagej script to try this. this however only works when original code manage this correctly. Olivier >> Please try the script: >> >> >> http://anonscm.debian.org/viewvc/debian-med/trunk/packages/imagej/trunk/debian/imagej.sh?view=markup >> >> which is the usual wrapper around imagej with a patch that should properly >> select the JAVA_HOME. >> >> It would be nice to know whether this would help or not. >> >> Kind regards >> >> Andreas. >> > Hi Andreas, > > unfortunately, the same behaviour occurs: > > louskacek@zouzel:~$ chmod 777 imagej.sh > louskacek@zouzel:~$ ./imagej.sh > Open other images in this ImageJ panel as follows: > imagej -p 1 [ ... ] > > Exception in thread "main" java.awt.HeadlessException > at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > at java.awt.Window.(Window.java:535) > at java.awt.Frame.(Frame.java:420) > at ij.ImageJ.(ImageJ.java:129) > at ij.ImageJ.main(ImageJ.java:597) > > Any advice? > Best, > Martin. > > > -- > gpg key id: 4096R/326D8438 (keyring.debian.org) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
Bug#732222: fiji acted - was:Re: Bug#732222: imagej: does not "see" present JAVA
Hi Martin, On Mon, Dec 16, 2013 at 04:30:39PM +0100, Martin Weiser wrote: > problem solved. Probably there was some interference in setting > environment variables between Imagej and Fiji. > > I purged Fiji, ImageJ, Java, > then re-installed ImageJ: > ImageJ worked > > When I added Fiji, ImageJ stopped to work with the originally > bug-reported quote. > > When I purged Fiji, ImageJ still did not work. > > I purged Imagej and Java again, and then re-installed Imagej. > ImageJ works. Thanks for tracking down what we had no chance for! > Maybe it is openjdk/gcj java problem: > > Simple removal of ImageJ did not helped, as installing Fiji leads to > installing gcj-java. When there were both these Javas (gcj and openjdk), > ImageJ refuted to work. > > It seems to me that maybe the problem is that ImageJ tries to work with > openjdk Java, while it should work with gcj? Or anything else? (Or maybe > even better: Fiji should not depend on another Java?) I have no idea from where you are installing Fiji since there are no official Debian packages of it. While we considered this in the past people who know more about internals of Fiji considered this a bad idea (there should be some record at the Debian Med list about this discussion). In any case it seems to be a bad idea to not depend from openjdk if you want to run on a recent Debian system. Those inofficial Fije packages should be fixed ... or even better the maintainers should cooperate with us instead of making trouble to their users. > Thank you for your interest and help. Thanks for your report in any case. Please let us know about your ideas about Fiji maintained in Debian. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: fiji acted - was:Re: Bug#732222: imagej: does not "see" present JAVA
Andreas Tille píše v Po 16. 12. 2013 v 15:07 +0100: > Hi Martin, > > On Mon, Dec 16, 2013 at 02:04:34PM +0100, Martin Weiser wrote: > > Sorry. I hope I get it know: > > > > louskacek@zouzel:~$ ./imagej.sh > > + ./imagej.sh > > + set +u > > + shopt -s extglob > > + '[' -z /usr/lib/jvm/java-1.7.0-openjdk-i386 ']' > > + ij_path=/usr/share/java > > + ij_user_path=/home/louskacek/.imagej > > + ijadmin=debian-med-packag...@lists.alioth.debian.org > > + doc_url=http://imagej.nih.gov/ij/ > > + ij_tmp=/home/louskacek/.imagej/tmp > > + newwindow=true > > + separator=: > > + declare -i mem > > + declare -i default_mem=500 > > + declare -i min_mem=16 > > + declare -i max_mem > > + declare -i free_mem > > ++ pwd > > + dir=/home/louskacek > > ++ whoami > > + user=louskacek > > ++ hostname > > + host=zouzel > > + [[ -z :0 ]] > > + display=:0 > > + declare -i port=0 > > + declare -i verbosity=0 > > + images= > > + macrocmd= > > + macroargs= > > ++ uname > > + [[ Linux == \S\u\n\O\S ]] > > ++ uname > > + [[ Linux == \L\i\n\u\x ]] > > ++ uname -m > > + [[ i686 == \x\8\6\_\6\4 ]] > > + arch=-d32 > > + java_path=/usr/share/java/jre/bin/java > > ++ free > > ++ awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 1800) {print fmem} else > > {print 1800}}' > > + max_mem=1800 > > ++ free > > ++ awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 1800) {print fmem} else > > {print 1800}}' > > + free_mem=1800 > > + mem='1800/3*2' > > + (( 1200 > 500 || 1200 < 16 )) > > + mem=500 > > + mkdir -p /home/louskacek/.imagej/plugins > > + mkdir -p /home/louskacek/.imagej/macros > > + mkdir -p /home/louskacek/.imagej/luts > > + [[ ! -d /home/louskacek/.imagej/tmp ]] > > + ls /usr/share/imagej/plugins > > + read p > > + '[' '!' -e /home/louskacek/.imagej/plugins/JavaScriptEvaluator.class > > ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/plugins/MacAdapter.class ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/plugins/MacClipboard.class ']' > > + read p > > + read p > > + ls /usr/share/imagej/macros > > + '[' '!' -e /home/louskacek/.imagej/macros/AddParticles.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/ConvertStackToBinary.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/EnlargeSelection.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/HyperStackMaker.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/MoveSelection.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/RotateSelection.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/Search.txt ']' > > + read p > > + '[' '!' -e '/home/louskacek/.imagej/macros/Stack Tools.txt' ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/StartupMacros.txt ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/macros/TimeStamp.ijm ']' > > + read p > > + ls /usr/share/imagej/luts > > + read p > > + '[' '!' -e /home/louskacek/.imagej/luts/HiLo.lut.enc ']' > > + read p > > + '[' '!' -e /home/louskacek/.imagej/luts/RedHot.lut.enc ']' > > + read p > > + modules='-cp /usr/share/java/ij.jar' > > + tools=/usr/lib/jvm/java-1.7.0-openjdk-i386/lib/tools.jar > > + getopts b:ce:hi:m:op:r:vx: options > > + declare -i i=1 > > + (( i < 1 )) > > + [[ -n '' ]] > > + (( 0 > 0 )) > > + pushd /home/louskacek/.imagej/tmp > > + declare -i count=1 > > + portopen=false > > + lockFileCreated=false > > + locklist=(`ls | grep '[0-9][0-9]-.*'`) > > ++ grep '[0-9][0-9]-.*' > > ++ ls > > + declare -a locklist > > + (( 0 > 0 )) > > + (( 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-louskacek-zouzel-:0 > > + (( 0 > 0 )) > > + touch 01-louskacek-zouzel-:0 > > + trap '\rm -f ${ij_tmp}/$lockname >/dev/null ; exit 1' EXIT TERM > > + (( 0 > 0 )) > > + 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 [ ... ]' > > imagej -p 1 [ ... ] > > + (( 0 > 0 )) > > + echo > > > > + popd > > + '[' -d /usr/share/imagej/jni/ ']' > > + '[' /usr/lib/jvm/java-1.7.0-openjdk-i386 ']' > > + (( 0 > 0 )) > > + eval /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -d32 -mx500m > > -cp /usr/share/java/ij.jar ij.ImageJ -ijpath /home/louskacek/.imagej > > -port1 > > ++ /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -d32 -mx500m > > -cp /usr/share/java/ij.jar ij.ImageJ -ijpath /home/louskacek/.imagej > > -port1 > > Exception in thread "main" java.awt.HeadlessException > > at > > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > > at java.awt.Window.(Window.java:535) > > at java.awt.Frame.(Frame.java:420) > > at ij.ImageJ.(ImageJ.java:129) > > at ij.ImageJ.main(ImageJ.java:597) > > + exit 0 > > + rm -f /home/louskacek/.imagej/tmp/01-louskacek-zouzel-:0 > > + exit 1 > > louskacek@zouzel:~$ > > > > Is this OK? > > Thi
Bug#732222: imagej: does not "see" present JAVA
Hi Martin, On Mon, Dec 16, 2013 at 02:04:34PM +0100, Martin Weiser wrote: > Sorry. I hope I get it know: > > louskacek@zouzel:~$ ./imagej.sh > + ./imagej.sh > + set +u > + shopt -s extglob > + '[' -z /usr/lib/jvm/java-1.7.0-openjdk-i386 ']' > + ij_path=/usr/share/java > + ij_user_path=/home/louskacek/.imagej > + ijadmin=debian-med-packag...@lists.alioth.debian.org > + doc_url=http://imagej.nih.gov/ij/ > + ij_tmp=/home/louskacek/.imagej/tmp > + newwindow=true > + separator=: > + declare -i mem > + declare -i default_mem=500 > + declare -i min_mem=16 > + declare -i max_mem > + declare -i free_mem > ++ pwd > + dir=/home/louskacek > ++ whoami > + user=louskacek > ++ hostname > + host=zouzel > + [[ -z :0 ]] > + display=:0 > + declare -i port=0 > + declare -i verbosity=0 > + images= > + macrocmd= > + macroargs= > ++ uname > + [[ Linux == \S\u\n\O\S ]] > ++ uname > + [[ Linux == \L\i\n\u\x ]] > ++ uname -m > + [[ i686 == \x\8\6\_\6\4 ]] > + arch=-d32 > + java_path=/usr/share/java/jre/bin/java > ++ free > ++ awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 1800) {print fmem} else > {print 1800}}' > + max_mem=1800 > ++ free > ++ awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 1800) {print fmem} else > {print 1800}}' > + free_mem=1800 > + mem='1800/3*2' > + (( 1200 > 500 || 1200 < 16 )) > + mem=500 > + mkdir -p /home/louskacek/.imagej/plugins > + mkdir -p /home/louskacek/.imagej/macros > + mkdir -p /home/louskacek/.imagej/luts > + [[ ! -d /home/louskacek/.imagej/tmp ]] > + ls /usr/share/imagej/plugins > + read p > + '[' '!' -e /home/louskacek/.imagej/plugins/JavaScriptEvaluator.class > ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/plugins/MacAdapter.class ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/plugins/MacClipboard.class ']' > + read p > + read p > + ls /usr/share/imagej/macros > + '[' '!' -e /home/louskacek/.imagej/macros/AddParticles.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/ConvertStackToBinary.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/EnlargeSelection.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/HyperStackMaker.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/MoveSelection.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/RotateSelection.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/Search.txt ']' > + read p > + '[' '!' -e '/home/louskacek/.imagej/macros/Stack Tools.txt' ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/StartupMacros.txt ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/macros/TimeStamp.ijm ']' > + read p > + ls /usr/share/imagej/luts > + read p > + '[' '!' -e /home/louskacek/.imagej/luts/HiLo.lut.enc ']' > + read p > + '[' '!' -e /home/louskacek/.imagej/luts/RedHot.lut.enc ']' > + read p > + modules='-cp /usr/share/java/ij.jar' > + tools=/usr/lib/jvm/java-1.7.0-openjdk-i386/lib/tools.jar > + getopts b:ce:hi:m:op:r:vx: options > + declare -i i=1 > + (( i < 1 )) > + [[ -n '' ]] > + (( 0 > 0 )) > + pushd /home/louskacek/.imagej/tmp > + declare -i count=1 > + portopen=false > + lockFileCreated=false > + locklist=(`ls | grep '[0-9][0-9]-.*'`) > ++ grep '[0-9][0-9]-.*' > ++ ls > + declare -a locklist > + (( 0 > 0 )) > + (( 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-louskacek-zouzel-:0 > + (( 0 > 0 )) > + touch 01-louskacek-zouzel-:0 > + trap '\rm -f ${ij_tmp}/$lockname >/dev/null ; exit 1' EXIT TERM > + (( 0 > 0 )) > + 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 [ ... ]' > imagej -p 1 [ ... ] > + (( 0 > 0 )) > + echo > > + popd > + '[' -d /usr/share/imagej/jni/ ']' > + '[' /usr/lib/jvm/java-1.7.0-openjdk-i386 ']' > + (( 0 > 0 )) > + eval /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -d32 -mx500m > -cp /usr/share/java/ij.jar ij.ImageJ -ijpath /home/louskacek/.imagej > -port1 > ++ /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -d32 -mx500m > -cp /usr/share/java/ij.jar ij.ImageJ -ijpath /home/louskacek/.imagej > -port1 > Exception in thread "main" java.awt.HeadlessException > at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > at java.awt.Window.(Window.java:535) > at java.awt.Frame.(Frame.java:420) > at ij.ImageJ.(ImageJ.java:129) > at ij.ImageJ.main(ImageJ.java:597) > + exit 0 > + rm -f /home/louskacek/.imagej/tmp/01-louskacek-zouzel-:0 > + exit 1 > louskacek@zouzel:~$ > > Is this OK? This is what we wanted to know and it seems you are running this on a i386 system. I tested the resulting call on my amd64 system by /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java -d64 -mx500m -cp /usr/share/java/ij.jar ij.ImageJ -ijpath /home/tillea/.imagej -port1 and it works perfectly. I admit that I'm a bit lost now since I do not have a clue wha
Bug#732222: Bug#732222: imagej: does not "see" present JAVA
Hi Martin, On Mon, Dec 16, 2013 at 01:47:59PM +0100, Martin Weiser wrote: > Andreas Tille píše v Po 16. 12. 2013 v 13:33 +0100: > > Please try the script: > > > > > > http://anonscm.debian.org/viewvc/debian-med/trunk/packages/imagej/trunk/debian/imagej.sh?view=markup > > > > which is the usual wrapper around imagej with a patch that should properly > > select the JAVA_HOME. > > > > It would be nice to know whether this would help or not. > > > > Kind regards > > > > Andreas. > > > > Hi Andreas, > > unfortunately, the same behaviour occurs: > > louskacek@zouzel:~$ chmod 777 imagej.sh > louskacek@zouzel:~$ ./imagej.sh > Open other images in this ImageJ panel as follows: > imagej -p 1 [ ... ] > > Exception in thread "main" java.awt.HeadlessException Could you possibly add a set -x on top of the script? Thanks Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: Bug#732222: imagej: does not "see" present JAVA
Andreas Tille píše v Po 16. 12. 2013 v 13:33 +0100: > Hi Martin, > > On Mon, Dec 16, 2013 at 12:55:33PM +0100, Martin Weiser wrote: > > Dear friends, > > > > maybe there is something else involved (should I open another bug?), as > > Olivier's workaround helps only partially: > > > > me@here:~$ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 > > me@here:~$ echo $JAVA_HOME > > /usr/lib/jvm/java-1.7.0-openjdk-i386 > > me@here:~$ imagej > > Open other images in this ImageJ panel as follows: > > imagej -p 1 [ ... ] > > > > Exception in thread "main" java.awt.HeadlessException > > at > > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > > at java.awt.Window.(Window.java:535) > > at java.awt.Frame.(Frame.java:420) > > at ij.ImageJ.(ImageJ.java:129) > > at ij.ImageJ.main(ImageJ.java:597) > > > > Any advice? > > Once again: thank you for your patience. > > Please try the script: > > > http://anonscm.debian.org/viewvc/debian-med/trunk/packages/imagej/trunk/debian/imagej.sh?view=markup > > which is the usual wrapper around imagej with a patch that should properly > select the JAVA_HOME. > > It would be nice to know whether this would help or not. > > Kind regards > > Andreas. > Hi Andreas, unfortunately, the same behaviour occurs: louskacek@zouzel:~$ chmod 777 imagej.sh louskacek@zouzel:~$ ./imagej.sh Open other images in this ImageJ panel as follows: imagej -p 1 [ ... ] Exception in thread "main" java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) at java.awt.Window.(Window.java:535) at java.awt.Frame.(Frame.java:420) at ij.ImageJ.(ImageJ.java:129) at ij.ImageJ.main(ImageJ.java:597) Any advice? Best, Martin. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: Bug#732222: imagej: does not "see" present JAVA
Hi Martin, On Mon, Dec 16, 2013 at 12:55:33PM +0100, Martin Weiser wrote: > Dear friends, > > maybe there is something else involved (should I open another bug?), as > Olivier's workaround helps only partially: > > me@here:~$ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 > me@here:~$ echo $JAVA_HOME > /usr/lib/jvm/java-1.7.0-openjdk-i386 > me@here:~$ imagej > Open other images in this ImageJ panel as follows: > imagej -p 1 [ ... ] > > Exception in thread "main" java.awt.HeadlessException > at > java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) > at java.awt.Window.(Window.java:535) > at java.awt.Frame.(Frame.java:420) > at ij.ImageJ.(ImageJ.java:129) > at ij.ImageJ.main(ImageJ.java:597) > > Any advice? > Once again: thank you for your patience. Please try the script: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/imagej/trunk/debian/imagej.sh?view=markup which is the usual wrapper around imagej with a patch that should properly select the JAVA_HOME. It would be nice to know whether this would help or not. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: Bug#732222: imagej: does not "see" present JAVA
Andreas Tille píše v Po 16. 12. 2013 v 09:39 +0100: > Hi Olivier, > > On Mon, Dec 16, 2013 at 09:14:06AM +0100, Olivier Sallou wrote: > > > here is the result: > > > > > > java-gcj-4.7 /usr/lib/jvm/java-gcj-4.7 > > > java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386 > > > java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386 > > I submitted a patch to SVN that picks always the latest openjdk version. > > > In the meanwhile, setting: > > > > #export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 > > #imagej > > > > should work > > My patch should have the same effect. Some testing / sanity check of > the wrapper script would be helpful. Generally spoken I'd be happy if > somebody could revise the script since Paolo who did invent the script > seems to be not active any more on imagej packaging. > > Kind regards > >Andreas. > Dear friends, maybe there is something else involved (should I open another bug?), as Olivier's workaround helps only partially: me@here:~$ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 me@here:~$ echo $JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-i386 me@here:~$ imagej Open other images in this ImageJ panel as follows: imagej -p 1 [ ... ] Exception in thread "main" java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) at java.awt.Window.(Window.java:535) at java.awt.Frame.(Frame.java:420) at ij.ImageJ.(ImageJ.java:129) at ij.ImageJ.main(ImageJ.java:597) Any advice? Once again: thank you for your patience. With the best regards, Martin. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: Bug#732222: imagej: does not "see" present JAVA
Hi Olivier, On Mon, Dec 16, 2013 at 09:14:06AM +0100, Olivier Sallou wrote: > > here is the result: > > > > java-gcj-4.7 /usr/lib/jvm/java-gcj-4.7 > > java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386 > > java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386 I submitted a patch to SVN that picks always the latest openjdk version. > In the meanwhile, setting: > > #export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 > #imagej > > should work My patch should have the same effect. Some testing / sanity check of the wrapper script would be helpful. Generally spoken I'd be happy if somebody could revise the script since Paolo who did invent the script seems to be not active any more on imagej packaging. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: [Debian-med-packaging] Bug#732222: imagej: does not "see" present JAVA
On 12/15/2013 09:58 PM, Martin Weiser wrote: > Andreas Tille píše v Ne 15. 12. 2013 v 21:46 +0100: >> Hi, >> >> thanks for your bug report. >> >> On Sun, Dec 15, 2013 at 08:49:12PM +0100, Martin Weiser wrote: >>> Package: imagej >>> Version: 1.46a-1 >>> Severity: important >>> >>> Dear Maintainer, >>> >>> when I try to start ImageJ, I get info about non-packaged JAVA, what is not >>> right: >>> >>> louskacek@zouzel:~$ imagej >>> Open other images in this ImageJ panel as follows: >>> imagej -p 1 [ ... ] >>> >>> No JVM found to run ImageJ >> Could you please try >> >>/usr/sbin/update-java-alternatives -l >> >> and post the result in this bug report? >> >> Kind regards >> >> Andreas. >> > Hi Andreas, > > here is the result: > > java-gcj-4.7 /usr/lib/jvm/java-gcj-4.7 > java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386 > java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386 In the meanwhile, setting: #export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386 #imagej should work > > Thank you. > Best, > Martin > > ___ > Debian-med-packaging mailing list > debian-med-packag...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: imagej: does not "see" present JAVA
Andreas Tille píše v Ne 15. 12. 2013 v 21:46 +0100: > Hi, > > thanks for your bug report. > > On Sun, Dec 15, 2013 at 08:49:12PM +0100, Martin Weiser wrote: > > Package: imagej > > Version: 1.46a-1 > > Severity: important > > > > Dear Maintainer, > > > > when I try to start ImageJ, I get info about non-packaged JAVA, what is not > > right: > > > > louskacek@zouzel:~$ imagej > > Open other images in this ImageJ panel as follows: > > imagej -p 1 [ ... ] > > > > No JVM found to run ImageJ > > Could you please try > >/usr/sbin/update-java-alternatives -l > > and post the result in this bug report? > > Kind regards > > Andreas. > Hi Andreas, here is the result: java-gcj-4.7 /usr/lib/jvm/java-gcj-4.7 java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386 java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386 Thank you. Best, Martin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: imagej: does not "see" present JAVA
Hi, thanks for your bug report. On Sun, Dec 15, 2013 at 08:49:12PM +0100, Martin Weiser wrote: > Package: imagej > Version: 1.46a-1 > Severity: important > > Dear Maintainer, > > when I try to start ImageJ, I get info about non-packaged JAVA, what is not > right: > > louskacek@zouzel:~$ imagej > Open other images in this ImageJ panel as follows: > imagej -p 1 [ ... ] > > No JVM found to run ImageJ Could you please try /usr/sbin/update-java-alternatives -l and post the result in this bug report? Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732222: imagej: does not "see" present JAVA
Package: imagej Version: 1.46a-1 Severity: important Dear Maintainer, when I try to start ImageJ, I get info about non-packaged JAVA, what is not right: louskacek@zouzel:~$ imagej Open other images in this ImageJ panel as follows: imagej -p 1 [ ... ] 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. I have installed JAVA through packaging system. (Besides, I do not know yet where to look for JAVA_HOME setting, but I guess it should be easy - I will google that) Thank you for your patience -- System Information: Debian Release: 7.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages imagej depends on: ii openjdk-6-jre 6b27-1.12.6-1~deb7u1 imagej recommends no packages. Versions of packages imagej suggests: ii gcj-jre-headless [java-virtual-machine] 4:4.7.2-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org