Questions for java-native-interface