[Debian-med-packaging] Bug#732222: Bug#732222: imagej: does not "see" present JAVA

Martin Weiser weiser2 at natur.cuni.cz
Mon Dec 16 11:55:33 UTC 2013


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 at here:~$ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386
me at here:~$ echo $JAVA_HOME
/usr/lib/jvm/java-1.7.0-openjdk-i386
me at here:~$ imagej
Open other images in this ImageJ panel as follows:
  imagej -p 1 <image1> [<image2> ... <imageN>]

Exception in thread "main" java.awt.HeadlessException
	at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
	at java.awt.Window.<init>(Window.java:535)
	at java.awt.Frame.<init>(Frame.java:420)
	at ij.ImageJ.<init>(ImageJ.java:129)
	at ij.ImageJ.main(ImageJ.java:597)

Any advice?
Once again: thank you for your patience.

With the best regards,
Martin. 
 



More information about the Debian-med-packaging mailing list