jdk 5,6 added
migrating to groovy