require java 6