I was able to get the extract to work on my PC using this command. Can
anyone help me "convert" the syntax to Iseries?

java -cp pdfbox-app-1.6.0.jar org.apache.pdfbox.PDFBox ExtractText


From: Jack Tucky [mailto:jacktucky@xxxxxxxxx]
Sent: Monday, March 05, 2012 5:41 PM
To: 'java400-l@xxxxxxxxxxxx'
Subject: Question about running a Java Class

I've been posting in RPG400-L about getting PDFbox running.

Ultimately I'd like to be able to use the ExtractText class in batch. I
don't need any capabilities that I need to code it in RPG.

The documentation from PDFBox shows this:

usage: java -jar pdfbox-app-x.y.z.jar ExtractText [OPTIONS] <PDF file> [Text

Is there a way to get this to run using the JAVA command or QSH? My JAR
file is in /JavaPDF/pdfbox-1.6.0.jar.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.