The capnpc-java binary should be installed in libexec/ and not bin bin/, since it appears that this binary should not be invoked by the user, but only by the Cap'n Proto compiler. But please correct me if I am wrong.
I think this requires also changes to the Cap' Proto compiler, to look in libexec/ for binaries.