Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] newbie cant get windows to locate itext jar during javac compiles?

PC size does matter!

2005-09-24


Brand new at iText?but I have done some java
programming and C++ programming using the FDF toolkit?


Running windows/XP

Got java compiles working on plain old programs OK but
I am having trouble compiling iText stuff I downloaded
from web.

I have JAVA 1.5.0 installed and downloaded itext
(jars) into a directory named
c:\jtjava\jtitext1.3.jar\

I issue the java compile command to compile the sample
itext helloworld program:

C:\jtjava>C:\JDK1.5.0\BIN\JAVAC
C:\JTJAVA\helloworld.java -cp c:\jtjava\jtitext1
.3.jar\

I get errors like:

----------------------------------------------------------------------------------------------

C:\JTJAVA\helloworld.java:21: package com.lowagie.text
does not exist
import com.lowagie.text.*;
^
C:\JTJAVA\helloworld.java:22: package
com.lowagie.text.pdf does not exist
import com.lowagie.text.pdf.PdfWriter;
                  ^
C:\JTJAVA\helloworld.java:42: cannot find symbol
symbol : class Document
location: class
com.lowagie.examples.general.HelloWorld
          Document document = new Document();
          ^
C:\JTJAVA\helloworld.java:42: cannot find symbol
symbol : class Document
location: class
com.lowagie.examples.general.HelloWorld

---------------------------------------------------------------------------

I tried copying the itext jar download into the
directory with the other java windows jar files and it
still won?t work?

What do I need to do to get javac to recognize iText?

And how do I view the doc I downloaded?
(JTiTextDocs1.3.tar.gz)? Says I need winzip or
something?




 
   
______________________________________________________
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.