>
>   $ java -jar /usr/share/pdftk/pdftk.jar mypdf.pdf burst
>   Unhandled Java Exception in create_output():
>   java.lang.NoClassDefFoundError:
org/apache/commons/lang3/StringEscapeUtils

Same problem here, solved it by calling pdftk with the following wrapper
script (which might need editing to suit your needs, further missing
jar-files might be needed):

#!/bin/bash
/usr/bin/java -cp
/usr/share/java/commons-lang3.jar:/usr/local/bin/pdftk.jar pdftk "$@"

For reasons I did not follow or verify any further, the classpath (-cp)
option seems to have no effect when running the application with java -jar

Regards

Ivo

Reply via email to