1 Project Description |
1.1 Overview
The goal of this RFE is to make XPInstall packages for Windows and Linux platforms and host these XPI packages under a public URL domain so that Netscape 7/Mozilla browser clients can access and execute when Java Plug-in is not installed in their systems. This RFE does not apply for Solaris system since Netscape 7 in Solaris always bundle the JRE package with the browser itself.
2 Technical Description |
For Windows, the XPI package contains:
install.js
j2re1_4_1.exe
For Linux, the XPI package contains:
install.js
j2re1.4.1 ( A directory structure contains the binary image)
symlink.sh ( A shell script to do the softlink).
The "install.js" for Windows contains the following logic which is necessary
to make Java Plug-in to successfully download and work..
* Before installation, we explicitly check the available size in the
default location (c:\program files). Currently we need about 30M bytes.
* After installation is done, call refreshPlugins() to make the new
plugin to work seamlessly.
* For Netscape browser, dll copy is not done by the installer which
performing silent installation. So for Netscape browser we need to copy
plugin dll files explicilty.
The "install.js" for Linux contains the following logic which is necessary
to make Java Plug-in to successfully download and work..
* After installlation is done, make a softlink to linkjavapligin_oji.so.
* The JRE images is downloaded to Mozilla/Netscape 6 plugins directory
called Java2.
* We explicitly check the disk space which plugins directory mounted
to to see if it has enough space. The minimum space Java Plugin needs
is 57.3 Mega bytes.
The installation scheme is listed as below.
This feature is available only for Netscape 7 or later and Mozilla 1.0 + browser. So when Netscape plugin finder service hooks up with our download page. That page will explicitly checks for the user agent string. And we assume the user agent string is named as usrAgtStr just for ease of explaination.
The pesudo code is:
var version = GetVersion (usrAgtStr); //* The user agent string looks like "Mozilla 5.0 Windows NT.......Netscape 7/Netscape 7.0.0 " we extract the version from last three numbers. For 7.0.0, the version number will be 700.
if (usrAgtStr contains "Netscape")
if (version >= 700)
if (usrAgtStr contains "en-US")
jpi = "j2re1_4_1.xpi"
else
jpi = "j2re1_4_1_i.xpi" // Internationalized version;
else
alert("Please upgrade the
browser to Netscape 7");
answer = confirm("Do you want to upgrade
your browser?");
if (answer)
windows.location = "http://www.netscape.com"
else // User is using Mozilla browser
if (buildNo >= 20020504) // Mozilla 1.0+
if (usrAgtStr contains "en-US")
jpi = "j2re1_4_1.xpi"
else
jpi = "j2re1_4_1_i.xpi" // Internationalized version;
else
alert("Please upgrade
the browser to Mozilla 1.0 or later");
answer = confirm("Do you
want to upgrade your browser?");
if (answer)
windows.location = "http://www.mozilla.org"
3 Marketing |
4 Management and Planning |
|
Complete | Started | Not Started | Difficulties | Trouble |
Appendices (as needed, suggestions below) |
|
Revision History |
|