xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff_Mitch...@accessbusinessgroup.com
Subject Re: I get a mysterious NoClassDefFoundError
Date Wed, 01 May 2002 16:48:22 GMT


OK, I'm confused too.  I don't have a jimi-1.0.jar (or any jimi*.jar, for
that matter)  I'm attaching the .bat that came with my download (I
downloaded last Friday, so I would think they'd be the same, since the
download directory we both pulled from shows the package being last
uploaded on March 4th.

I don't think it'll make any difference, though, since you seem to be
including everything that is there.  I'm not familiar enough with Java
(I've done a little programming in it, but when apps start using multiple
jars, it becomes black magic to me) to have any answer, other than using
the .bat file that works for me.  I do think you're correct in the
assumption that your OS shouldn't matter (I'm on XP, BTW.)

Here are the contents of my batch file:

java -cp

org.apache.fop.apps.Fop -c conf/userconfig.xml %1 %2 %3 %4 %5 %6 %7 %8

It should be untouched from the time I downloaded it, other than the -c
conf/userconfig.xml parameter I added to use some custom fonts.  Hope that
helps.  If not, post back, and perhaps someone wiser than I can help.


Hi Jeff,

  Now I'm confused. I downloaded FOP from
http://xml.apache.org/dist/fop/ , just this morning. It didn't
include a jimi.jar and it didn't include any .bat files either.
I included ever .jar file that was in my lib directory, in the
classpath. Is there another place that I can download from? I'm
using Windows ME, but I don't think that would matter would it
(since it's all java)?


--- Jeff_Mitchell@accessbusinessgroup.com wrote:
> Devon-
> I think you're missing a jar in there.  My call to FOP
> includes the
> following -cp parameter:
> -cp

> I didn't see the path to the jimi-1.0,jar in your classpaths,
> and I'm not
> sure what ant.jar is.  I guess including the path to jimi.jar
> would be my
> first attempt.
> Just out of curiosity, why aren't you using the fop.bat that
> comes in the
> downloadable package?
> -Jeff

View raw message