[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Jimi problems with libfop-java



Hi,

I'm trying make a pdf file from a fo file with the libfop-java package in Debian (unstable). But I keep getting this error:

[ERROR] Error while creating area : Error creating FopImage object (Error creating FopImage object (file:graphics/ss-lilo1.png) : org.apache.fop.image.JimiImage


Here is what I have done:
apt-get install libfop-java
download jimi1_0.zip from suns homepage
unzip jimi1_0.zip
copy JimiProClasses.jar to /usr/share/java/jimi-1.0.jar
(within the /usr/bin/fop i noticed that jimi-1.0.jar is included in the classpath)

Here is the permissions of jimi-1.0.jar:
-rw-r--r-- root root 445K 2003-11-03 23:28 jimi-1.0.jar

Now when I use Fop I get the error described above :(


I think it is pretty strange that Fop works correctly if I use the binaries from http://xml.apache.org/fop/

Here is what I have done:
Download the binaries
Extract them in /usr/lib
create symlink /usr/bin/fop -> /usr/lib/fop-0.20.5/fop.sh
download jimi1_0.zip from suns homepage
unzip jimi1_0.zip
copy JimiProClasses.jar to /usr/lib/fop-0.20.5/lib/

Now Fop works just fine.


I can't seem to find out where I go wrong, so now I have 2 questions:

  1. Can anyone help me?
  2. Why isn't Jimi in a deb package?
If you are missing information the please tell me and I will find it for you.

Thanks
--Jacob Emcken



Reply to: