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.

Bug 47859

Summary: Mozilla 1.7 on Solaris not supported well
Product: ide Reporter: _ rkubacki <rkubacki>
Component: ExtbrowserAssignee: Martin Grebac <mgrebac>
Status: CLOSED FIXED    
Severity: blocker CC: ttran
Priority: P2 Keywords: SIMPLEFIX
Version: 4.x   
Hardware: PC   
OS: Solaris   
URL: http://wwws.sun.com/software/solaris/browser/index.html
Issue Type: DEFECT Exception Reporter:

Description _ rkubacki 2004-08-25 07:55:55 UTC
The IDE should check if Mozilla that is officialy
supported on Solaris now is installed on users
machine and set the command appropriately. This is
better than expecting that user will set PATH to
contain a directory with mozilla executable or
modify its setting in options.
Comment 1 Martin Grebac 2004-09-22 14:27:52 UTC
Will try to fix this for 4.0
Comment 2 Petr Jiricka 2005-03-18 11:12:49 UTC
Reassigning to Martin, Viliam is not confident about fixing this.
Comment 3 _ rkubacki 2005-03-18 11:37:07 UTC
Should I try to look at this? Pehraps next week I can test it on my Ultra60.
Comment 4 Martin Grebac 2005-03-18 15:28:11 UTC
You're welcome.
Comment 5 Jaroslav Pospisil 2005-11-14 10:24:49 UTC
There are some new features,affected by this (welcome screen) and also it's more
often used scenario,then first assumed,so I'm raising the priority to P2.Key
problem is to find the right mozilla executable location,which could be set by
default in the IDE,whereas I experienced some problems in previous
testing,because of multiple mozilla executables in default Solaris installation
and problems with their executing(possibly problem with access rights).
Comment 6 _ rkubacki 2005-11-14 10:42:14 UTC
Please be carefull when testing this. Machines inside SWAN often use some NFS
mount points and have different paths to various programs than is usual (or they
wrap the real launcher with some script that may not pass params - even worse). 

Does the default Solaris 10 installation contain Mozilla? Where is it? There are
some packages provided by Sun. Where do they install it?

I filled this bug report because we set netscape as a default browser although
it is more and more likely that users will have mozilla/firefox installed (only)
and to achieve good initial experience we should have a working solution that
will work out-of-the-box. My idea is to initialy set the browser executable to
one of these netscape/mozilla/firefox by scanning folder enumerated in PATH
variable. That should cover most of the cases IMO.

Note: I use packages from blastwave.org so my mozilla/firefox are both in
/opt/csw/bin. This directory is on my PATH.
Comment 7 Martin Grebac 2005-11-14 15:29:33 UTC
Fixed in trunk:

Checking in FirefoxBrowser.java;
/cvs/extbrowser/src/org/netbeans/modules/extbrowser/FirefoxBrowser.java,v  <-- 
FirefoxBrowser.java
new revision: 1.2; previous revision: 1.1
done
Checking in MozillaBrowser.java;
/cvs/extbrowser/src/org/netbeans/modules/extbrowser/MozillaBrowser.java,v  <-- 
MozillaBrowser.java
new revision: 1.7; previous revision: 1.6
done
Comment 8 Jaroslav Pospisil 2005-12-20 12:28:48 UTC
Verified