drop java 6, fixes travis