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, 11949🔥, 0💬
Popular Posts:
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...