back to java 6 (avoid bamboo problems)