Raj Sidh wrote:
> Hi,
> 
> I created an application (on Windows XP) that outputs PDF file.

In other words: you are using iText and it works.

> While it can output the file when I run it under Eclipse environment,
 > it does not create the file when I double click the jar to run the same.
 > Basically I am writing this PDF file as C:\temp\somefile.pdf.

So you have an application that works in one environment,
but not in another environment. This is a local configuration
problem.

> Please advice what I could be missing. (Also pls see related code snippet 
> below).

The code snippet is irrelevant if you have it working in some
environments, but not all. I didn't even look at it.
What you need to ask yourself is: do I have the same JDK?
Am I using the same jars? Is some jar missing? Are there
more than one iText jar in my CLASSPATH?

And more important: what exceptions are thrown?

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to