This is the mail archive of the
mailing list for the GCC project.
help compiling java code
- From: "Noé Amorim" <noe dot rocha at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 23 Nov 2006 17:10:45 +0000
- Subject: help compiling java code
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.
i can compile this with JDK, but i really want to create a bin out of it.