Add profileJava pref for java profiling feature