Java Jar, PDF and XML Problem

dogsareit
dogsareit used Ask the Experts™
on
I using localhost, Win 10 and have Java 13.0.1 64 bit installed, and have both IIS and Wampserver (both have different listening ports.) installed.
I am trying to convert PDF to XML and found a great snippet of coding at the following url:
https://www.roseindia.net/tutorial/java/xml/pdftoXML.html 

Open in new window

The problem I am having is the with the com.lowagie.text-2.1.7 jar file from the following url:
http://www.java2s.com/Code/Jar/c/Downloadcomlowagietext217jar.htm

Open in new window

It gives me the error -  see below attached screenshot  : no main manifest attribute in c:\wamp\www\PDFConvert\com.lowagie.text-2.1.7 jar
How can I fix this ?? I have also emailed the developer of the code to inquire as if I am using the right package and believe that I am because of
"lowagie" being part of the handlers.
Any help/guidance would be appreciated...
Screenshot_4.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Okay,

See if this tutorial helps with your error - http://roufid.com/no-main-manifest-attribute-in-app-jar/

Secondly it appears that the com.lowagie classes were depreciated in 2012 due to technical as well as legal reasons.
It has been advised that you use iText instead -- https://www.lowagie.com/iText

Hope the information is of use

Ken

Author

Commented:
Thank you for responding. Before posting, I visited the very same site but thought I might have been mistaken about needing to use iText instead of lowagie. Apparently it isn't free so I emailed them for a quote.
I also emailed Roseindia concerning the coding but have not heard back yet.
Thank you for the information on "no manifest" too - I appreciate you sharing your knowledge.

Author

Commented:
Thank you again !

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial