Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Where to save iText-5.0.1.jar to make compiler happy
I want to save "iText-5.0.1.jar" file in a a folder so that it can be imported by import statement in my Java source file
import com.lowagie.text.Document; import com.lowagie.text.DocumentException; import com.lowagie.text.PageSize; import com.lowagie.text.Paragraph; import com.lowagie.text.pdf.PdfWriter;
After I run my java program I get error as below: CreatingANewPagePDF.java:4: package java.com.lowagie.text does not exist import java.com.lowagie.text.Document; Please help...
✍: Kiran
Your code uses com.lowagie.text.* packages, which actually provided in an older version of iText like iText-2.1.6.jar, not in iText-5.0.1.jar.
You can download and put "iText-2.1.6.jar" in the same folder as your Java source file and add "-classpath iText-5.0.1.jar" option to your javac and java command line.
⇒ How to display unicode in PDF using itext5.0.1.jar in java
⇐ Copy PDF Document with iText
2010-12-17, 12017🔥, 0💬
Popular Posts:
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
maven-settings-builder-3 .8.6.jaris the JAR file for Apache Maven 3.8.6 Settings Builder module. Apa...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
Where to find answers to frequently asked questions on Downloading and Installing Connector/J - JDBC...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...