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 <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.
> 
> 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 <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?
Best,
Martin.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to