JNI kind of works for Windows

Two projects still not connected. Windows specific.