United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7027919 Java won't update on limited user
JDK-7027919 : Java won't update on limited user

Details
Type:
Bug
Submit Date:
2011-03-15
Status:
Resolved
Updated Date:
2013-05-16
Project Name:
JDK
Resolved Date:
2013-05-16
Component:
install
OS:
windows_7
Sub-Component:
install
CPU:
x86
Priority:
P4
Resolution:
Duplicate
Affected Versions:
6u24
Fixed Versions:
8

Related Reports
Duplicate:

Sub Tasks

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
SUGGESTED FIX

Hide the 'Update' tab for limited users at Windows 7/Vista OS.
                                     
2011-05-20
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.
                                     
2011-05-20
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

                                     
2013-05-16



Hardware and Software, Engineered to Work Together