This isn't quite yet ready to publish, but see jni-bindgen's wip/desktop-java branch for current progress.