updated java version used in build (to 1.7)