Noé Amorim writes: > Hello. > I was trying to compile a java class using GCJ, there's no problem if > no external jar involved. > This is what i have done to compile with the iText jar lib: > > gcj --classpath="./itext-1.4.6.jar;." --main=FdfMerge -o FdfMerge FdfMerge.java > > but it doesn't work. > It shows me the same errors when trying to compile like javac > FdfMerge.java, it says things like: > > FdfMerge.java:7: error: Class or interface > `com.lowagie.text.pdf.PdfStamper' not found in import. > import com.lowagie.text.pdf.PdfStamper; > > i can compile this with JDK, but i really want to create a bin out of it. gcj --main=FdfMerge -o FdfMerge itext-1.4.6.jar FdfMerge.java ought to do it. Andrew.