In J2RE v1.4.2_01 and J2RE v1.5, Java Update is enabled at startup by default. However, various PC-OEM have strict requirements about what programs could be launched at startup, and some of them may not want to have Java Update auto check enabled in shipped PC boxes. Thus, there is a need to adjust the auto check default for PC-OEM.
The solution is to introduce an install option AUTOUPDATECHECK for PC-OEM in J2SE installer. If AUTOUPDATECHECK=0 is passed, the following should happen:
- If there is no J2RE previously installed, Java Update auto check is disabled by default. However, when Java Plug-in is running, it will trigger Java Update to prompt user to see if they want to enable the update check. If so, Java Update auto check will be enabled at subsequence startup.
- If there is old J2RE and Java Update already installed and if the auto check was disabled, new Java Update auto check will continue be disabled.
- If there is old J2RE and Java Update already installed and if the auto check was enabled, new Java Update auto check will be disabled after the system restart or user relogin.
Notice that if AUTOUPDATECHECK=1 or no option is passed to J2SE installer, Java Update will behave as it is today: auto update check will be enabled by default and the scheduler will run at user login on supported platforms.