add hack.hh
update java.java and shell.sh