On Tue, 2008-11-18 at 22:14 -0800, Orcan Ogetbil wrote:
After some consultation in IRC, I've been told that JNI is not
need in this case. And a suggestion came up: Apparently we can use GCJ
to do this job. But this will require non-trivial hacking. Can anyone
point me to some guidelines for this and/or give me a head-start?
The program, pdftk, is a c++ program that uses gcj's CNI (not JNI)
feature to call java classes. Here is some background information on
In principle you would only need to provide CNI headers for the itext
classes (see gcjh) and a shared library build from the itext classes or
jar file (see gcj). But it depends a bit on coordinating with the pdftk
packager. Currently the pdftk build seems to just bundle all of itext
and compile it into one big static library.