only add Nashorn if java >= 1.8