Mon Cab wrote:
I am running Tomcat, on Fedora 4. Using
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
Install real JRE first...
My application works fine until the following line of code is reached.

ImageIcon ii = new javax.swing.ImageIcon(myFile.getCanonicalPath());
Try to run Tomcat with -Djava.awt.headless=true option set. i.e.:

$ export CATALINA_OPTS="-Djava.awt.headless=true"
$ ${CATALINA_HOME}/bin/startup.sh

--
Mikolaj Rydzewski <[EMAIL PROTECTED]>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to