The documentation is at https://pdfbox.apache.org/1.8/commandline.html. All I see is the suggested command line format, i.e., for the Decrypt command:
usage: java -jar pdfbox-app-x.y.z.jar Decrypt [OPTIONS] <inputfile> [outputfile] As for theStackoverflow article: I copied the pdfbox JAR into ~/Library/Java/Extensions, restarted the computer, and verified: jonathan$ ls ~/Library/Java/Extensions pdfbox-app-1.8.10.jar I then attempted to run the pdfbox JAR using the -classpath option: jonathan$ java -classpath ~/Library/Java/Extensions/pdfbox-app-1.8.10.jar \ > -jar pdfbox-app-1.8.10.jar ExtractText afile.pdf afile.txt; cat afile.txt Error: Unable to access jarfile pdfbox-app-1.8.10.jar cat: afile.txt: No such file or directory Finally, I ran the pdfbox JAR using its full path: jonathan$ java -jar ~/Library/Java/Extensions/pdfbox-app-1.8.10.jar \ > ExtractText afile.pdf afile.txt; cat afile.txt (Text) -----Original Message----- From: Tres Finocchiaro <[email protected]> To: users <[email protected]> Sent: Sat, Nov 7, 2015 9:33 pm Subject: Re: Shell Can't Find pdfbox > [...] it appears to be a different method than what the Apache PDFBox documentation specifies Can you please provide a link to the incorrect documentation? No Java I've used recommends putting JAR files in a UNIX PATH search location. The only possible thing I can think of is a wrapper script someone created as a helper. When I search the Internet for "pdfbox /usr/local/bin/", the archive of this email is the only documentation I can find on the matter -- minus a mention of a /usr/local/bin/pdfbox wrapper script which I can't find the source for (suspected brew/tap/macport type culprit, but no hits). When I look through the PDFBOX command line tutorial I can't find mention of /usr/local/bin either. Here is a good stackoverflow article discussing where to put JAR files in general and in which scenarios you should and shouldn't use the classpath suggestions: http://stackoverflow.com/questions/12842063/where-to-install-jar-files-on-os-x-so-other-java-applications-will-find-them

