Force netbeans to use jdk 1.7 (instead of 1.8 default in netbeans 8) and fix Range to implement iterator remove