added java files and java running script.