Hi. Sorry, I forgot the bug. :-)
Torsten Werner ha scritto:
> Hi Giovanni,
>
> Giovanni Mascellani schrieb:
>> I really thing that pdfsam cannot go with gij.
>
> does the command line program work with gij?
It doesn't appear to do so (but maybe because of another problem):
> $ JAVA=/usr/lib/jvm/java-gcj/bin/java pdfsam-console -f atto.pdf -s BURST -o
> . split
> =========================================================================
>
> pdfsam console
>
> available properties:
> pdfsam.log.console.level
> pdfsam.log.file.level
> pdfsam.log.file.filename
>
> JAVA: /usr/lib/jvm/java-gcj/bin/java
>
> JAVA_OPTS: -Dlog4j.configuration=console-log4j.xml
>
> CLASSPATH:
> :/usr/share/pdfsam/lib/dom4j.jar:/usr/share/pdfsam/lib/emp4j-1.0.1.jar:/usr/share/pdfsam/lib/itext.jar:/usr/share/pdfsam/lib/jaxen.jar:/usr/share/pdfsam/lib/log4j-1.2.jar:/usr/share/pdfsam/lib/looks.jar:/usr/share/pdfsam/lib/pdfsam-console-2.0.5e.jar:/usr/share/pdfsam/lib/pdfsam-jcmdline-1.0.3.jar:/usr/share/pdfsam/lib/pdfsam-langpack.jar
>
> =========================================================================
>
> 23:41:41,173 DEBUG Console log level set to DEBUG
> 23:41:41,272 DEBUG Starting arguments parsing.
> 23:41:41,321 DEBUG Command 'split' parsed in 11ms
> 23:41:41,321 DEBUG Starting arguments validation.
> 23:41:41,343 DEBUG Command 'split' validated in 4ms
> 23:41:41,413 FATAL Error executing ConsoleClient
> java.lang.NoClassDefFoundError: com.lowagie.text.pdf.PdfReader
> at java.lang.Class.initializeClass(libgcj.so.10)
> at
> org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.executeBurst(SplitCmdExecutor.java:123)
> at
> org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.execute(SplitCmdExecutor.java:90)
> at
> org.pdfsam.console.business.pdf.CmdExecuteManager.execute(CmdExecuteManager.java:64)
> at
> org.pdfsam.console.business.ConsoleServicesFacade.execute(ConsoleServicesFacade.java:99)
> at org.pdfsam.console.ConsoleClient.main(ConsoleClient.java:78)
> Caused by: java.lang.ClassNotFoundException:
> org.bouncycastle.cms.RecipientInformationStore not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/usr/share/pdfsam/lib/dom4j.jar,file:/usr/share/pdfsam/lib/emp4j-1.0.1.jar,file:/usr/share/pdfsam/lib/itext.jar,file:/usr/share/pdfsam/lib/jaxen.jar,file:/usr/share/pdfsam/lib/log4j-1.2.jar,file:/usr/share/pdfsam/lib/looks.jar,file:/usr/share/pdfsam/lib/pdfsam-console-2.0.5e.jar,file:/usr/share/pdfsam/lib/pdfsam-jcmdline-1.0.3.jar,file:/usr/share/pdfsam/lib/pdfsam-langpack.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> at java.net.URLClassLoader.findClass(libgcj.so.10)
> at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
> at java.lang.ClassLoader.loadClass(libgcj.so.10)
> at java.lang.ClassLoader.loadClass(libgcj.so.10)
> at java.lang.Class.initializeClass(libgcj.so.10)
> ...5 more
The same command list without the JAVA=... part works perfectly and does
what it's supposed to do.
Thanks, Giovanni.
--
Giovanni Mascellani <[email protected]>
Pisa, Italy
Web: http://poisson.phc.unipi.it/~mascellani
Jabber: [email protected] / [email protected]
signature.asc
Description: OpenPGP digital signature
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

