known to work in netbeans 7.1.1 and higher