Re: [xsl] PFMReader help

Subject: Re: [xsl] PFMReader help
From: Tim Meals <tim@xxxxxxxxxxxx>
Date: Wed, 21 Jan 2004 13:30:35 -0800
Ryan --

This is a little off-topic, as it's a Java-related question, and not an XSL one. Running "java -jar" automatically nullifies any CLASSPATH or -cp switch you send it. You'll have to run "java -cp ${CLASSPATH}: <whatever> org.apache.fop.fonts.apps.PFMReader" where <whatever> is the classpath you're trying to append (maybe the FOP jar?). Of course, if you're in Windows, replace those ":" separators with ";" and the ${CLASSPATH} with %CLASSPATH%.

You can get more information with java -? from the command line. Hope this helps.


On 01/21/04 13:03:27, "Bishop, Ryan" wrote:
yeah no luck at all. i get the same error as the first try

i typed: java -cp {fullpaths to all .jar files}
org.apache.fop.fonts.apps.PFMReader {fullpath to pfm file} newfont. xml

returned: Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/AbstractLogEnabled        at
java.lang.ClassLoader.defineClass0(Native Method)

i should be able to type : java org.apache.fop.fonts.apps.PFMReader
to know if the PFMReader is working... correct?

also tells me
Usage: java [-options] class [args...]           (to execute a class)
 or  java -jar [-options] jarfile [args...]           (to execute a
jar file)
where exactly is the PFMReader? i should be able to access it with

thanks again

> ----------
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx on behalf of
> J.Pietschmann
> Reply To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Sent: Wednesday, January 21, 2004 12:31 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] PFMReader help
> Bishop, Ryan wrote:
> > java -jar -cp {with full complete paths to all the jar files}
> > and return: Exception in thread "main" ZipException:
> such
> > file or directory at
> The -jar flag requires an argument, which causes the exception.
> is no prepared jar for the reader, so try again without the -jar
> Don't forget to add the org.apache.fop.fonts.apps.PFMReader and the
> command line flags.
> J.Pietschmann
> XSL-List info and archive:

XSL-List info and archive:

XSL-List info and archive:

Current Thread