This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
** Version Details: Fedora 14 fully updated Netbeans 6.9 fully updated from Fedora Repository ** Short Description: Netbeans silently fails to start because of "unrelated" environmental setting. ** Long Description: Under Fedora 14 Linux, I have a ~/.bashrc file which contains the following line: export GREP_OPTIONS="--color -In --exclude-dir=.svn --exclude=*.html" Note: this environmental setting (most notably the "-n" in "-In") affects the grep results presentation. When this line is set in the ~/.bashrc file, it is active for applications launched either from a desktop environment (Gnome) or from terminal environment (gnome-terminal.) When this option is set and a request to start netbeans occurs, from the UI briefly an application task is registered and then disappears. From a terminal, it reports: $netbeans /bin/bash: : No such file or directory ** Steps to reproduce: 1) in ~/.basrc, append: export GREP_OPTIONS="--color -In --exclude-dir=.svn --exclude=*.html" 2) start netbeans 3) Error: netbeans fails to start ** Solution: In script /usr/bin/netbeans, in function launchNbexec(), at or near line 173 Change line from: nbexec=`grep -v "^#" ...etc To : nbexec=`export GREP_OPTIONS=; grep -v "^#" ...etc
The proposed solution apparently only fixes the terminal-launched netbeans problem. Launched from the desktop, the UI does launch but I only get what appears to be some of the Netbeans GUI components to load (basic application and not a Java dev. environment.)
Assigned to new owner.
Still true in 8.0! *** This bug has been marked as a duplicate of bug 109021 ***