added wrap_java parameter to java class. it will not create the custom java.sh if set to false