What path? What version fop are you using? I downloaded the source and rebuilt the jar without any classpath in it because we use it embedded in another language which has it's own classpath setup where I reference all required jars, but I haven't sent that version out yet. Our live system is still using the fop.jar from the 0.95 binary download. If I open that jar in 7-zip, I can see it contains a folder called META-INF. In that folder is a file called MANIFEST.MF. Within that file is this statement: Class-Path: avalon-framework-4.2.0.jar batik-all-1.7.jar commons-io-1.3.1.jar commons-logging-1.0.4.jar serializer-2.7.0.jar servlet-2.2.jar xalan-2.7.0.jar xercesImpl-2.7.1.jar xml-apis-1.3.04.jar xml-apis-ext-1.3.04.jar xmlgraphics-commons-1.3.1.jar fop-hyph.jar jai_codec.jar jai_core.jar jai_imageio.jar jimi-1.0.jar xmlunit1.0.jar
So you can see there is no path. That path would use I assume any path already assigned to the JVM, or it would expect all those jars to exist in the same path as fop.jar. -----Original Message----- From: Tom Browder [mailto:[email protected]] Sent: Wednesday, June 23, 2010 7:45 AM To: [email protected] Subject: Re: SEVERE: Couldn't find hyphenation pattern en_US On Tue, Jun 22, 2010 at 15:50, Eric Douglas <[email protected]> wrote: > You can view the files in a jar including classes with a jar viewer > program. A jar is just a form of compressed file like zip or rar. I > use 7-zip to view it. Using: "jar -tvf fop-hyph.jar" I get (other languages deleted from the list): 0 Mon Apr 14 13:32:22 CDT 2008 META-INF/ 71 Mon Apr 14 13:32:22 CDT 2008 META-INF/MANIFEST.MF 0 Mon Apr 14 13:31:24 CDT 2008 hyph/ 74672 Mon Apr 14 13:25:02 CDT 2008 hyph/en_US.hyp 126340 Mon Apr 14 13:25:02 CDT 2008 hyph/en_GB.hyp 67983 Mon Apr 14 13:25:02 CDT 2008 hyph/en.hyp Using cat on the manifest file shows: Manifest-Version: 1.0 Created-By: 1.5.0_14 (Sun Microsystems Inc.) (blank line at the end) So, assuming the jar file is physically in dir "/usr/local/share/fop", should the CLASSPATH read: export CLASSPATH=/usr/local/share/fop/fop-hyph.jar or something else, i.e., how is the path inside the manifest handled? Or should I manually repack the jar file without the subdirectory "hyph"? Thanks, -Tom
