- From: <tpatterson@grand-t.com>
- Date: Mon, 27 Dec 2010 11:52:34 -0500
- To: www-xsl-fo@w3.org
- Message-ID: <OF1A09FF51.9741263B-ON85257806.005C0CB8-85257806.005CB457@grand-t.com>
Hello, I'm trying to get Apache FOP to run on my SuSe 9 server. For whatever reason, it does not like my path for the JDK. Here is my linux path: PATH=/usr/vsifax/obin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/tmp/ApacheF OP/fop-1.0:/opt/java/jdk1.6.0_23:/usr/vsifax/bin:/usr/vsifax/lbin The Apache and Java directories are both included... Here is my "JAVA_HOME" environment variable: JAVA_HOME=:/opt/java/jdk1.6.0_23 plastics2:/opt # java -version java version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05) Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) I thought the instructions said I could just enter 'fop' at the command line. I receive 'command not found'. When I run fop I receive the following ... I'm running this from the directory when the FOP is installed. Error: JAVA_HOME is not defined correctly. We cannot execute :/opt/java/jdk1.6.0_23/bin/java The directory is correct for the Java. Any help would be greatly appreciated... Also, after I do verify that this is running properly can I simply convert an xml file to a pdf with the following command... fop -xml anyxmlfile.xml -pdf anypdfile.pdf Thanks, Todd
Received on Monday, 27 December 2010 21:43:43 UTC