java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider (missing dependency)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pdftk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
pdftk in Gutsy has missing dependencies; invoking it without installing them prints errors like:
WARNING: Error loading security provider org.bouncycastl
WARNING: Error loading security provider gnu.crypto.
After installing these two packages it stopped complaining:
sudo apt-get install libgnucrypto-java libbcprov-java
It fails for me, too:
max@schleptop: /tmp/a$ pdftk 1.pdf 2.pdf cat output a.pdf e.jce.provider. BouncyCastlePro vider: java.lang. ClassNotFoundEx ception: org.bouncycastl e.jce.provider. BouncyCastlePro vider not found in gnu.gcj. runtime. SystemClassLoad er{urls= [file:. /], parent= gnu.gcj. runtime. ExtensionClassL oader{urls= [], parent=null}} jce.GnuCrypto: java.lang. ClassNotFoundEx ception: gnu.crypto. jce.GnuCrypto not found in gnu.gcj. runtime. SystemClassLoad er{urls= [file:. /], parent= gnu.gcj. runtime. ExtensionClassL oader{urls= [], parent=null}} /tmp/a$
WARNING: Error loading security provider org.bouncycastl
WARNING: Error loading security provider gnu.crypto.
max@schleptop:
Max