pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Shell Can't Find pdfbox
Date Tue, 03 Nov 2015 07:49:48 GMT
Am 03.11.2015 um 03:25 schrieb Jonathan Levi:
> 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$

Unless something changed in the last 30 years, the PATH variable is for 
the executable, i.e. java.

Tilman

>
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message