Fix java6 compiling on my computer