switch to java 6