This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help compiling java code


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.
please advice.
thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]