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, 11804🔥, 0💬
Popular Posts:
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
How to display XML element type information with the jaxp\TypeInfoWriter.java provided in the Apache...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
Where to find answers to frequently asked questions on Downloading and Installing Connector/J - JDBC...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....