Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

PDFBox Usage Error Using Eclipse  RSS feed

 
Ranch Hand
Posts: 44
1
  • Mark post as helpful
  • send pies
  • 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: 44
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no idea what PDF document to compress.   What is this all about?
 
Saloon Keeper
Posts: 5480
143
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mention various things, but what are you actually trying to do?
 
David Ellis Rogers
Ranch Hand
Posts: 44
1
  • Mark post as helpful
  • send pies
  • 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.
 
Bring out your dead! Or a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!