pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler <andr...@lehmi.de>
Subject Re: Shell Can't Find pdfbox
Date Tue, 03 Nov 2015 10:48:51 GMT
Hi,

> Jonathan Levi <drjlevi6@aol.com> hat am 3. November 2015 um 03:25 geschrieben:
> 
> 
> 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?
I guess the issue might be that your user doesn't have sufficient rights to
access the jar.

Check the output of 

ls -al /usr/local/bin/pdfb*

and change the access permissions if necessary

> Using Mac OS X 10.11.1.
> 
> TIA,
> 
> Jonathan

BR
Andreas

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


Mime
View raw message