Support java6 with our one java file