Ahmed writes:

> Hi!
> After compiling a get this prob. 
> 
> C:\javak\java2pdf>javac Chap0102.java
> No prob I get the class file. 
> 
> C:\javak\java2pdf>java Chap0102
> Exception in thread "main" java.lang.NoClassDefFoundError: Chap0102

Sounds like a JAVA 101 CLASSPATH problem.
Seems like you forgot to add . to your CLASSPATH. 

Or you can also take a look at
http://www.lowagie.com/iText/examples/compile.bat 

%1 is the parameter that is passed to the script.
In your case, it's Chap0102. I wrote this batchfile
to be able to compile and execute the examples very
quickly (without always having to type the commando
and classpath).

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to