Add shell script for java develop env and modify some java files