Switched to java 1.6 in order to make buildhive happy.