revertt to java 6