Hello all

 

I need to compile an own written application using iText library with
gcj (want to make an .exe).

I use eclipse, GCJBuilder eclipse plugin 1.1.0, itext-1.4.7.jar,
Plattform WinXP, MinGW-3.0.0.1, gcj 3.4.2, make 3.79.1, MSYS-1.0.8,
libgcj-3.4.5.jar

 

I've read the pdftk build notes, but I couldn't find any help.

On mailing list archive I found some entries about gcj problems, but no
solution of my problem. In 2003 Paole Soares wrote (2003-08-13):" gcj
has very poor awt support. Use the itext-paulo-jdk1.1-125.jar instead.".
Still same problem with gcj 3.4.x? (Should I use
itext-paulo-jdk1.1-125.zip?) 

 

Eclipse console error message:

com/lowagie/text/Image.java: In class `com.lowagie.text.Image':

com/lowagie/text/Image.java: In method
`com.lowagie.text.Image.getInstance(java.net.URL)':

com/lowagie/text/Image.java:388: error: verification error at PC=439

com/lowagie/text/Image.java:388: error: might transfer control into
subroutine

com/lowagie/text/Image.java: In method
`com.lowagie.text.Image.getInstance(byte[])':

com/lowagie/text/Image.java:459: error: verification error at PC=387

com/lowagie/text/Image.java:459: error: might transfer control into
subroutine

com/lowagie/text/html/HtmlParser.java: In class
`com.lowagie.text.html.HtmlParser':

com/lowagie/text/html/HtmlParser.java: In method
`com.lowagie.text.html.HtmlParser.go(com.lowagie.text.DocListener,org.xm
l.sax.InputSource)':

com/lowagie/text/html/HtmlParser.java:86: error: cannot find file for
class javax.xml.parsers.SAXParser

com/lowagie/text/html/HtmlParser.java:86: error: cannot find file for
class javax.xml.parsers.SAXParser

com/lowagie/text/html/HtmlParser.java:86: confused by earlier errors,
bailing out

make.exe: *** [release/./itext-1.4.7.jar.o] Error 1

 

It seems, hat the gcj has a problem with synchronized blocks and doesn't
know javax.xml package.

 

Can you help me?

 

Thanks in advance,

Sascha Fuchs

 

 

Sascha Fuchs
Dipl.Ing.Inf.FH
joinApps AG
Pilgerweg 7
8800 Thalwil

 

w www.joinapps.com <blocked::http://www.joinapps.com/> 
m [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
t +41 44 720 5625
f +41 44 720 5623

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to