changed to jre 1.7