Use Java 7 and migrate code.