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.
it is not working. Event bug report is not able to launch firefox browser. I tried to put /usr/bin/firefox firefox in settings, but always, it says cannot execute firefox, check external browser configuration. (or cannot execute /usr/bin/firefox) I selected /usr/bin/firefox with "browse" button in settings. /usr/bin/firefox works fine in xterm
Please run your IDE with -J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500 option. It will print extra debug info to the log file. Then please attach the log file to the issue. Please also write what Linux distro you are using and what is the version of your Firefox. Thank you!
Product Version = NetBeans IDE Dev (Build 200709030000) Operating System = Linux version 2.6.17-10mdv running on i386 Java; VM; Vendor = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc. Java Home = /usr/local/jdk1.6.0_02/jre System Locale; Encoding = en_GB (nb); ISO-8859-1 Mandrake
Created attachment 48290 [details] Launched NB with -J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500, and ask to view an html file from project
The attached log files look as if the option '-J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500' was not successfully passed. There should be lines like: FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.SystemDefaultBrowser 1189165505259> init FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.IExplorerBrowser 1189165505304> init FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.FirefoxBrowser 1189165505316> init FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.MozillaBrowser 1189165505331> init FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.NetscapeBrowser 1189165505343> init FINE [org.netbeans.modules.extbrowser]: org.netbeans.modules.extbrowser.SimpleExtBrowser 1189165505353> init FINE [org.netbeans.modules.extbrowser]: SimpleExtBrowserImpl created from factory: org.netbeans.modules.extbrowser.SimpleExtBrowser@d802b6 FINE [org.netbeans.modules.extbrowser]: SimpleExtBrowserImpl created from factory: org.netbeans.modules.extbrowser.SimpleExtBrowser@d802b6 present in the log file. Can you please check it again? Are you Sun employee? It could be easier to debug the problem on your machine directly.
Maybe here is the bug, because I really put your option. And in the previous file, you can find the -Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500 traced, so netbeans got it. I started again with the option (stored it in the log file also). Then I only get the two lines above. ~$: grep org.netbeans.modules.extbrowser web2.log netbeans-6.0-200709030000/bin/netbeans -J-Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500 org.netbeans.modules.extbrowser/1 [1.11 200709030000] -Dorg.netbeans.modules.extbrowser.SystemDefaultBrowser.level=500 WARNING [org.openide.filesystems.Ordering]: Not all children in Services/Browsers/ marked with the position attribute: [External Browser_1.settings, External Browser.settings], but some are: [SystemDefaultBrowser.settings, IExplorerBrowser.settings, FirefoxBrowser.settings, MozillaBrowser.settings, NetscapeBrowser.settings, SimpleExtBrowser.settings, SwingBrowser.settings]
Product Version: NetBeans IDE Dev (Build 200805221203) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Reproducible in above mentioned version. If I run: /usr/bin/firefox -remote "openURL(http://www.netbeans.org)" in the command line, it works (this is what is in Tools>Options). But if I click any link on the Start page, the dialog saying cannot find firefox pops out...
The problem was in the user rights - if I run NB using "sudo sh netbeans", it works fine...
OK, I am closing it, it means that either of those was not installed correctly (to allow all users to run it only root). Anyway, there could be better propagation of the problem to the user (file another issue in that case if needed).