Made small fix ot java structure and java creation script