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 m....@gmx.de on 2002/08/01 15:25:42 UTC

error while trying to compile fop 0.20.4

Hi Fop-User,

I tried to compile fop 0.20.4 on my system. I started build.bat because I
use jdk1.4 under windows. The Java-Home variable is set and I didn't set a
classpath. But I got the following error message:

--------------------------------------------------------------------------

    [javac] C:\Dokumente und
Einstellungen\SFR\Desktop\fop-0.20.4\build\src\org\
apache\fop\svg\PDFGraphics2D.java:1199: nested class
org.apache.fop.svg.PDFGraph
ics2D. PDFGraphicsConfiguration is an abstract class. It can't be
instantiated.
    [javac]         return new PDFGraphicsConfiguration();
    [javac]                ^
    [javac] C:\Dokumente und
Einstellungen\SFR\Desktop\fop-0.20.4\build\src\org\
apache\fop\svg\PDFGraphics2D.java:1206: nested class
org.apache.fop.svg.PDFGraph
ics2D. PDFGraphicsConfiguration must be declared abstract. It does not
define ja
va.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from
class ja
va.awt.GraphicsConfiguration.
    [javac]     static class PDFGraphicsConfiguration extends
GraphicsConfigurat
ion {
    [javac]                  ^
    [javac] 2 errors, 1 warning

BUILD FAILED

C:\Dokumente und Einstellungen\SFR\Desktop\fop-0.20.4\build.xml:579: Compile
fai
led, messages should have been provided.

Total time: 10 minutes 21 seconds
C:\Dokumente und Einstellungen\SFR\Desktop\fop-0.20.4>

--------------------------------------------------------------------------

I'm a newbie on that topic and generally just want to compile fop to
incorporate jimi, because I want to use png images. I already downloaded jimi1_0.zip
from sun (http://java.sun.com/products/jimi/) but don't know how to
recompile it together with fop (As you can see from the above error message I'm not
even able to compile just fop).

What am I doing wrong?
I would really appreciate any hints!

-- 

Regards, 

Markus Schäffler
------------------------------------------------------

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


Re: error while trying to compile fop 0.20.4

Posted by "J.Pietschmann" <j3...@yahoo.de>.
m.schaeffler@gmx.de wrote:
> BUILD FAILED

Read this:
  http://marc.theaimsgroup.com/?l=fop-dev&m=102268769327794&w=2

J.Pietschmann