Update java version and LinkedList