update cleanup script

update cleanup script
Merge pull request #16 from StanleyShen/java_start

Merged.