By Date: <-- -->
By Thread: <-- -->

Package com.lowagie.text does not exist



Honestly, you need to read a Beginning Java book.
 
That said, you need to setup your classpath correctly so that NetBeans has access to the iText JAR.
 
-Bill Ensley


From: itext-questions-admin (at) lists.sourceforge.net [mailto:itext-questions-admin (at) lists.sourceforge.net] On Behalf Of Stanly Tweedle
Sent: Tuesday, February 07, 2006 7:45 AM
To: itext-questions (at) lists.sourceforge.net
Subject: [iText-questions] Package com.lowagie.text does not exist

I'm new to Java. I'm trying to use iText to generate pdf output. I've downloaded the iText-1.3.jar file and documentation. The problem I am having is that NetBeans is saying "Package com.lowagie.text does not exist". It does this for all the imports for iText. It does it in my own code, the tutorials I've downloaded from the iText website and the code from "Tools of the Trade" tutorial on the Adobe Press website.
 
I'm using Windows XP SP2. The directory structures I have are
C:\Program Files\Java\jre1.5.0_06
D:\netbeans-5.0
D:\jdk1.5.0_06
D:\iText

The iText-1.3.jar file is in D:\iText. I created a CLASSPATH variable that contains D:\iText\iText-1.3.jar
I have also put a copy of iText-1.3.jar in just about every \lib folder I can find. I downloaded it a second time just in case something was wrong with the initial download. I installed the Eclipse IDE and it too gives the same error. I removed anything and everything Java from my PC (including manual removal of any registry entries I found) and then re-installed the latest and greatest of NetBeans and the JDK. Very frustrating as it is probably something very simple that I'm missing that may be taken for granted in the documention and tutorials I've read.

So I'm stumped - anyone have any ideas why iText isn't being seen?

If I double-click on the iText-1.3.jar file it presents a simple application with some examples. Do I have the right file?

Any help would be appreciated,
Steve
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ iText-questions mailing list iText-questions (at) lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions