pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Levi <drjle...@aol.com>
Subject Shell Can't Find pdfbox
Date Tue, 03 Nov 2015 02:25:35 GMT
I'm finding that shell commands to use pdfbox-app-1.8.10.jar won't work unless the full path
is used. Example:

drj-air:Desktop jonathan$ ls /usr/local/bin/pdfb*
/usr/local/bin/pdfbox-app-1.8.10.jar
drj-air:Desktop jonathan$ java -jar pdfbox-app-1.8.10.jar ExtractText Contact-Office-Letter.pdf

Error: Unable to access jarfile pdfbox-app-1.8.10.jar
drj-air:Desktop jonathan$ java -jar /usr/local/bin/pdfbox-app-1.8.10.jar ExtractText Contact-Office-Letter.pdf

drj-air:Desktop jonathan$ 

Is there a shell variable that has to be set for Java to know where to look for jars?

Using Mac OS X 10.11.1.

TIA,

Jonathan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message