Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

PDFBox Usage Error Using Eclipse

 
Ranch Hand
Posts: 58
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Eclipse 4.9 with Java on a MacBook Pro under macOS Mojave 10.14.3, using PostgreSQL 10.
I received the following depressing error message upon depressing the run button:

Usage: java -cp pdfbox-app-x.y.z.jar org.apache.pdfbox.tools.DecompressObjectstreams <inputfile> [<outputfile>]

Options:
 <inputfile>  : The PDF document to decompress
 <outputfile> : The output filename (default is to replace .pdf with .unc.pdf)


I had only added a close to a file; I have tried to run again, but same message.

Months ago I tried pdfbox but decided to not use it.  However, currently in the package explorer
window there are some elements, such as the following: under src.LIB:
pdfbox-checkstyle-5.xml, pdfbox-eclipse-formatter.xml .

Also, under Maven Dependencies -- PDFBox-2.0.1.jar there are many org.apache.pdfbox.

Thanks in advance.
 
David Ellis Rogers
Ranch Hand
Posts: 58
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no idea what PDF document to compress.   What is this all about?
 
Saloon Keeper
Posts: 7181
166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You mention various things, but what are you actually trying to do?
 
David Ellis Rogers
Ranch Hand
Posts: 58
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Everything is now working.  I believe i did not close a result set.
Thanks for the help.  Sorry to be so dumb.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic