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, 11771🔥, 0💬
Popular Posts:
Apache Log4j Core Implementation provides the functional components of the logging system. Users are...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...