changing to java 1.7

Change-Id: I2a8c0c1a944eba8f857c2e4bce7d2a72dbd63e68