Hi,

> Dear Andreas,
> I have found your email concerning the command line tool  
> org.apache.pdfbox.Encrypt
Please avoid to contact the commiters directly for the future. Use our 
mailinglists
instead, so that everybody on the list can answer or learn from possible 
answers/discussions. 
See [1] for further details. 

> I have used the command below, but got the reported error.
> Sorry to ask this, I am not very familiar with Java, even if I use  
> Linux very much and like the command line.
> What am I doing wrong here?
> 
> Many thanks for your help,
> marco
> 
> 
> ma...@marco-desktop:~/documents/tex$ java org.apache.pdfbox.Encrypt -O  
> mypass inputFile.pdf
You have to add the jar to your command line:

java -jar pdfbox-app-1.2.1.jar org.apache.pdfbox.Encrypt -O mypass inputFile.pdf

BR
Andreas Lehmkühler

[1] http://pdfbox.apache.org/mail-lists.html

Reply via email to