finish greate group java code

#64