making netbeans work