Only remove docent if running Java 8.