Arindam Maji wrote:
dear Mr. Lowagie,
I have just checked out your site and felt myself
enriched by going through the documentation regarding
the iText class library. I have also downloaded the
compiled source code (src.tar.gz) and the examples
provided. The compiled source code on extraction
produces the file iText.jar
You compiled the source and you made an iText.jar.
and the same has been
copied to c:\j2sdk1.4.2_01\lib directory (this is the
path written in my machine's path environment
variable). As per your instruction the iText.jar file
has to be added to the CLASSPATH -- is my action on
iText.jar correct?
With add it to the CLASSPATH, I mean: add it to the environment
variable with the name CLASSPATH.
In a DOS-box do: echo %CLASSPATH%
You should see a reference to the jar.
It's not because the directory is in the CLASSPATH
that all jars in this directory are in it too.
You need to add jars explicitly.
Now when I start compiling the Chap0101.java source
code the compiler gives the following error :
Chap0101.java:24:package.com.lowagie.text does not
exist
import com.lowagie.text.*;
Chap0101.java:25:package.com.lowagie.text.pdf does not
exist
import com.lowagie.text.pdf.PdfWriter;
A typical CLASSPATH problem.
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions