Java の boolean に対応するデータ型として jboolean 型が用意されているが、それを取り扱うときは、
#define JNI_FALSE 0 #define JNI_TRUE 1
が使える。