Update Java-NDK interface.