I am positive that -Djava.awt.headless=true was in the correct position. I set the fop script in debug mode and verified it. I use Sun JDK 1.4.2 but X isn't running (nor installed)
According to the Apache site: "Batik must be run in a graphical environment. It uses AWT classes for rendering SVG, which in turn require an X server on Unixish systems. If you run a server without X, or if you can't connect to the X server due to security restrictions or policies (a so-called "headless" environment), SVG rendering will fail. Here are some workarounds: * If you are using JDK 1.4, start it with the -Djava.awt.headless=true command line option. * Install an X server which provides an in-memory framebuffer without actually using a screen device or any display hardware. One example is Xvfb. * Install a toolkit which emulates AWT without the need for an underlying X server. One example is the PJA toolkit, which is free and comes with detailed installation instructions. " I've decided not to use SVG anymore... too much of a headache for what I was using it for. Thanks for the help though. Laurent On 7/13/07, J.Pietschmann <[EMAIL PROTECTED]> wrote:
Laurent Yaish wrote: > I'm running fedora core 5. > I installed X.Org X11 libX11 runtime library but still can't get it to > work... In general, setting -Djava.awt.headless=true should be enough, if you add this flag at the correct position on the JVM command line. It works only in Java 1.4 and later, and it may be ignored on JVMs other than suns. You might want to heck your Java version and vendor. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
