whoops, wrong return type for JNI method

removed unused native var