I use that setup (Ubuntu/JRE 1.5) and it works fine. Looks like you've just messed up your classpath. FOP requires avalon-framework-cvs-20020806.jar to be in the classpath, among other things.

--jason

jago pearce wrote:
I need FOP to XML my resume...
Unfortunately I'm using Ubuntu and jre1.5.

There doesn't seem to be any mention of jre1.5 in the FAQ.

Offtopic: I could downgrade to jre1.4 but apt says I have 1.4 not 1.5 installed
and I can't see a java version selecting binary.... hmm


[EMAIL PROTECTED] ~/resume/examples> fop --help
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/Logger
        at org.apache.fop.apps.Fop.main(Fop.java:60)
[EMAIL PROTECTED] ~/resume/examples>
[EMAIL PROTECTED] ~/resume/examples> java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
[EMAIL PROTECTED] ~/resume/examples>
[EMAIL PROTECTED]:~ # apt-get remove  j2re1.5
Reading package lists... Done
Building dependency tree... Done
Package j2re1.5 is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  fop: Depends: libavalon-framework-java (>= 4.1.2-2) but it is not installable
       Depends: libbatik-java (>= 1.5.1-1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).
[EMAIL PROTECTED]:~ #



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to