The problem is that we're trying to link against an x86 jdk and that fails, in turn preventing the library to link.