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.
Product Version = NetBeans IDE 7.4 (Build 201310111528) Operating System = Linux version 2.6.32-358.23.2.el6.i686 running on i386 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) Client VM 24.0-b56 While running a HTML5 project, I get this following exception before and after installing the google chrome connector java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:135) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) Caused: java.io.IOException: Cannot run program "/opt/google/chrome/google-chrome --user-data-dir": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:202) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:154) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:218) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:229) [catch] at org.netbeans.modules.extbrowser.UnixBrowserImpl.loadURLInBrowser(UnixBrowserImpl.java:173) at org.netbeans.modules.extbrowser.UnixBrowserImpl$1.run(UnixBrowserImpl.java:152) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Could you please attach content of page chrome://version opened in Chrome? Thanks in advance
Created attachment 141721 [details] screenshot of chrome://version page in google chrome
The exception shows that no executable file with the name "/opt/google/chrome/google-chrome --user-data-dir" can be found. Note that the executable file should be just "/opt/google/chrome/google-chrome". The option --user-data-dir should not be part of the process name. This seems to be a misunderstanding. It seems that you modified the default settings for Chrome browser (in Tools > Options > General > Web Browser > Edit). There are two fields: Process and Arguments. The --user-data-dir should not be part of the Process (where it causes the problem described). It should be part of the Arguments.