You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Michael Burbidge <mb...@adobe.com> on 2002/08/07 21:25:43 UTC

Running fop on OS X, avalon jar problems...

I'm a new fop user trying to run fop-0.20.4. I'm trying to use fop on Mac OS
X, from the commands line. When I run the following command:

java -classpath 
~/fop-0.20.4/build/fop.jar:~/fop-0.20.4/lib/avalon-framework-cvs-20020315.ja
r org.apache.fop.apps.Fop

I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/Logger
        at org.apache.fop.apps.Fop.main(Unknown Source)

When I decompressed the fop binaries, the avalon jar filename got truncated
to avalon-framework-cvs-20020315.j. So I simply appended the "ar". But I
wonder if it was munged in some other way?

Any ideas?

Would someone be willing to e-mail me their
avalon-framework-cvs-20020315.jar file? Or can I get it from apache.org
separate from the fop installation?

Thanks,
Michael-


Re: Running fop on OS X, avalon jar problems...

Posted by Michael Burbidge <mb...@adobe.com>.
I discovered that the java command on OS X ignores classpaths after the
first colon. I got things working by using the CLASSPATH environment
variable instead.

Thanks,
Michael-

On 8/7/02 12:25 PM, "Michael Burbidge" <mb...@adobe.com> wrote:

> I'm a new fop user trying to run fop-0.20.4. I'm trying to use fop on Mac OS
> X, from the commands line. When I run the following command:
> 
> java -classpath 
> ~/fop-0.20.4/build/fop.jar:~/fop-0.20.4/lib/avalon-framework-cvs-20020315.ja
> r org.apache.fop.apps.Fop
> 
> I get the following error:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/avalon/framework/logger/Logger
>       at org.apache.fop.apps.Fop.main(Unknown Source)
> 
> When I decompressed the fop binaries, the avalon jar filename got truncated
> to avalon-framework-cvs-20020315.j. So I simply appended the "ar". But I
> wonder if it was munged in some other way?
> 
> Any ideas?
> 
> Would someone be willing to e-mail me their
> avalon-framework-cvs-20020315.jar file? Or can I get it from apache.org
> separate from the fop installation?
> 
> Thanks,
> Michael-
>