For FOP 1.0, you need Java 1.4 or newer. For FOP 1.1RC1 and the upcoming 1.1 (as well as current nightly builds), you need Java 1.5 or newer.
FOP provides a built-in mechanism to perform XML to XSL-FO translation using a supplied XSLT file. See the documentation at [1]. You don't provide enough details to determine what problem you're having on your linux server. What version of FOP? What is your input XML/XSLT files? What command line options did you use? What is console output? [1] http://xmlgraphics.apache.org/fop/quickstartguide.html On Wed, Oct 10, 2012 at 8:16 AM, nels <nbhc...@gmail.com> wrote: > (I have posted this a second time because my first attempt was with my > company email and their SMTP server isn't set up to authorise nabble" so > rather than wait for that to be rectified I have requested that account and > post be deleted and have re-registered with my personal email and posted > again!) > > I have a requirement to convert XML files with their corresponding XSL > files > to PDF on AIX. The APACHE FOP looks like it does what I need. > Am I right in thinking that I need to convert XML to XSL-FO by XSLT using a > converter like css2xsl before I run FOP? > > In trying to generate the XSL-FO file in AIX I get error “The java class > could not be loaded. java.lang.UnsupportedClassVersionError: > be/re/css/CSSToXSLFO (Unsupported major.minor version 50.0)” which suggests > that the JAVA compiled and runtime versions don’t match so to confirm this > I > switch over to our LINUX server. This didn’t error but produced an empty > XSL-FO file. > If you have any suggestions as to what is causing my problem or on an > alternate XSLT to convert XML to XSL-FO then I would be very grateful. > > Regards, > > Nelson > > > > -- > View this message in context: > http://apache-fop.1065347.n5.nabble.com/XML-to-PDF-on-AIX-tp37006.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > >