personally, i've never tried using the AWT output format, so can't say what it's state is at the moment; i would suggest you try the PDF output format for the time being, i.e., use '-pdf' instead of '-awt'. You can file a bug on the AWT problem at [1]
[1] https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop make sure to include information on your execution environment and full console output from the command invocation On Fri, Aug 10, 2012 at 10:56 AM, Mike DiChiappari < mdichiapp...@cardeatech.com> wrote: > I'm a newbie who just downloaded fop 1.1.rc1. I didn't get very far > before getting a Headless exception (see below). Note I'm using JDK 1.6 > and tried this on Windows XP and Window 7. Note that the problem doesn't > occur with fop 0.93. > > I was following the Getting Started instructions, which say: > > Hello World with FOP > > This section walks you through a "Hello World!" page with Apache FOP. > We're assuming you download the binary distribution and that you have a > Java Runtime Environment (version 1.4 or later) installed. > > Unpack the downloaded binary distribution to a directory of your choice > (for example, C:\FOP if you're on Windows). Let's call that directory > <fop-home>. > Get a command prompt in the <fop-home> directory and write: > Windows: fop -fo examples/fo/basic/readme.fo -awt > > Headless Exception occurs: > > >fop -fo examples/fo/basic/readme.fo -awt > Aug 10, 2012 9:50:43 AM org.apache.fop.cli.Main startFOP > SEVERE: Exception > java.awt.HeadlessException > at java.awt.GraphicsEnvironment.**checkHeadless(Unknown Source) > at java.awt.Window.<init>(Unknown Source) > at java.awt.Frame.<init>(Unknown Source) > at java.awt.Frame.<init>(Unknown Source) > at javax.swing.JFrame.<init>(**Unknown Source) > at org.apache.fop.render.awt.**viewer.PreviewDialog.<init>(** > PreviewDialog.java:110) > at org.apache.fop.render.awt.**viewer.PreviewDialog.** > createPreviewDialog(**PreviewDialog.java:275) > at org.apache.fop.render.awt.**AWTRenderer.<init>(** > AWTRenderer.java:99) > at org.apache.fop.cli.**CommandLineOptions.parse(** > CommandLineOptions.java:211) > at org.apache.fop.cli.Main.**startFOP(Main.java:161) > at org.apache.fop.cli.Main.main(**Main.java:208) > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > fop-users-unsubscribe@**xmlgraphics.apache.org<fop-users-unsubscr...@xmlgraphics.apache.org> > For additional commands, e-mail: > fop-users-help@xmlgraphics.**apache.org<fop-users-h...@xmlgraphics.apache.org> > >