integrated imagej to jni/c and java jdk