Discussion:
Bug#822781: libpdfbox-java: Command line tools missing / java -jar pdfbox.jar not working
Peter Van Biesen
2016-04-27 12:50:22 UTC
Permalink
Package: libpdfbox-java
Version: 1:1.8.11+dfsg-1
Severity: normal

Dear Maintainer,

I tried to use the pdfbox as documented,
https://pdfbox.apache.org/1.8/commandline.html , e.g.

java -jar /usr/share/java/pdfbox.jar Decrypt

But this always results in
no main manifest attribute, in /usr/share/java/pdfbox.jar

Is this expected behavior ? Or do I need to install another package ?

-- System Information:
Debian Release: 8.3
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libpdfbox-java depends on:
ii libfontbox-java 1:1.8.7+dfsg-1

libpdfbox-java recommends no packages.

libpdfbox-java suggests no packages.

-- no debconf information
--
Peter Van Biesen
Systems Administrator
IT-Team/exploitatie&beheer

VLAAMS AGENTSCHAP VOOR PERSONEN MET EEN HANDICAP
www.vaph.be

////////////////////////////////////////////////////////////////////////////////////////////////////
--
Raadpleeg uw VAPH-dossier online via http://mijn.vaph.be.
------------------------------------------------------------
---------------------
http://www.vaph.be/disclaimer
Peter Van Biesen
2016-05-02 08:16:53 UTC
Permalink
Hi tilman,

yes I noticed the difference in naming. However, the package is missing the
pdfbox-app.jar and there is no other package supplying it.

Imho, to avoid compatibility issues, debian should either include the app
jar in libpdfbox-java or add another package containing the app jar, with a
dependency on the correct version of the libpdfbox-java package.

Kindest regards,

Peter.
Hello Peter,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822781
You need to use pdfbox-app.jar, not pdfbox.jar.
Latest versions are 1.8.12 or 2.0.1
https://pdfbox.apache.org/download.cgi
Tilman
--
Peter Van Biesen
Systems Administrator
IT-Team/exploitatie&beheer

VLAAMS AGENTSCHAP VOOR PERSONEN MET EEN HANDICAP
*T* +32 2 225 85 70 <+32+2+225+85+70>
***@vaph.be
Sterrenkundelaan 30, 1210 Brussel
www.vaph.be

////////////////////////////////////////////////////////////////////////////////////////////////////
--
*nieuw adres vanaf 20 juni 2016:*
Zenithgebouw
Koning Albert II-laan 37
1030 Brussel

Raadpleeg uw VAPH-dossier online via http://mijn.vaph.be.
------------------------------------------------------------
---------------------
http://www.vaph.be/disclaimer
Loading...