project example of java and bash