JDK-7027919 : Java won't update on limited user
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u24
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2011-03-15
  • Updated: 2013-05-16
  • Resolved: 2013-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows 7 pro (6.1.7600)

A DESCRIPTION OF THE PROBLEM :
If you work under a limited user, exactly how you should, java updater will always fail, even if you elevate it or run it as administrator.

The process monitor shows two interesting lines:

----1----

jucheck.exe	796	CreateFile	C:\Program Files (x86)\Common Files\Java\Java Update\http:\javadl.sun.com\webapps\download\GetFile\1.6.0_24-b71\windows-i586\jre-6u24-windows-i586-iftw-rv.exe	NAME INVALID	Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

--- 2 ---
1:28:05,6955237	jucheck.exe	796	CreateFile	C:\Users\Administrator\AppData\Local\Temp\jre-6u24-windows-i586-iftw-rv.exe	NAME NOT FOUND	Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Work under limiter user.
Run updater (jucheck.exe)

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java should update
ACTUAL -
but it doesn't

ERROR MESSAGES/STACK TRACES THAT OCCUR :
The error message is:
---------------------------
Error - Java(TM) Update
---------------------------
Failed to download required installation files.
---------------------------
OK
---------------------------

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
This issue is already fixed in JDK8 with UAC feature changes. There is another bug for 7 that covers the same issue - https://jbs.oracle.com/bugs/browse/JDK-8011811. Back-porting JDK-8011811 to 6 should resolve this issue in 6. Linked JDK-7027919 as a duplicate of JDK-8011811
16-05-2013

EVALUATION Reproduced this scenario on Windows 7 (64 bit)/ Windows XP/2000/NT OS. Windows 7 (64 bit)- When a limited user tries to manual update at Java Control Panel, prompt for elevation to administrator,as expected, appears. After elevation to adminstrator, when user clicks at 'Update' tab again, the error message "Failed to download required installation" appears. Update fails. Windows XP/2000/NT - For a limited user, 'Update' tab is hidden. A limited user is not allowed to update Java.
20-05-2011

SUGGESTED FIX Hide the 'Update' tab for limited users at Windows 7/Vista OS.
20-05-2011