simplified java configure script, removing unneeded jni
copy of EYR3 code (old-style simulation)