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 85643 - Installer enhancements for Linux (bc && browser)
Summary: Installer enhancements for Linux (bc && browser)
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 10:51 UTC by kimsp
Modified: 2007-07-09 16:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kimsp 2006-09-24 10:51:21 UTC
The installer for linux depends on bc. That program is not always installed by
default, so I would recommend that the installer probes (eg. using the which
command) to test whether bc is installed. If not it should write that it is
required instead of writing something like the following:

          Initializing InstallShield Wizard........
./netbeans-6_0-m3-bin-200609161800-linux-16_Sep_2006_1800.bin: line 189: bc:
command not found
./netbeans-6_0-m3-bin-200609161800-linux-16_Sep_2006_1800.bin: line 404: [: :
integer expression expected
...
more of this


Another solution in to make it entirely in Java.


My second request is that the installer also probes whether mozilla or firefox
is the default browser. Many newer linux os'es use firefox instead of good old
mozilla and the installer could probe this too (or alt least ask the user to
pick the browser executable is 'which mozilla' returns not found).

The browser bug seem to be fixed in milestone 3 of the new 6.0 release so please
backport it to the 5.5 release (it is not fixed in beta 2).

Best regards 
Kim Pedersen
Comment 1 mslama 2007-07-09 16:07:33 UTC
New installer engine is used now. It does not depend on bc.