JNI interface for Expokit