Update to netbeans 8, fix gcj project