|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: PFMReader help
Subject: Re: 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.
Tim
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
ryan
> ----------
> 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: PFMReader help
>
> Bishop, Ryan wrote:
> > java -jar -cp {with full complete paths to all the jar files}
> > and return: Exception in thread "main" java.util.zip.
ZipException:
No
> such
> > file or directory at java.util.zip.ZipFile.open(Native
Method)
>
> The -jar flag requires an argument, which causes the exception.
There
> is no prepared jar for the reader, so try again without the -jar
flag.
> Don't forget to add the org.apache.fop.fonts.apps.PFMReader and the
> command line flags.
>
> J.Pietschmann
>
> XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|