Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my Windows 7 machine the Java update consistently fails with this error message.

(edit: The same thing happens on Windows 8).

Failed to download required installation files.

This seems to a common problem, does anyone have an insight into what's going wrong, and is there a fix for it other than either disabling the update check (seems a bad idea from a security point of view) or waiting for the nag message and then manually installing the new version (annoying and stupid from a usability point of view).

Note that I did install the previous version manually (updating from 6.23 to 6.30 I think?), thinking that might resolve the issue, but no luck.

share|improve this question
    
Have you tried fully uninstalling/reinstalling Java? –  rishimaharaj Apr 22 '12 at 2:24
    
@rishimaharaj I uninstalled and reinstalled the last time this happened, though it's possible there was some cruft left in the registry. –  therefromhere Apr 22 '12 at 2:28
1  
I get this error every time I try to install java updates from my user account (even with elevated permissions). I have to actually log into my admin account, and the problem goes away. –  psubsee2003 Jun 23 '12 at 8:29
add comment

3 Answers

up vote 11 down vote accepted

I finally got this working after reading the following:

It turns out that when the java updater attempts to download new updates, it uses the Windows service called “Background Intelligent Transfer Service” (BITS). If the logged on user is only a standard user, then the java updater fails to correctly use the BITS service to download the new update. However, if the BITS service is not available for use by the java updater (either the service is disabled or permissions are denied to the calling process), the java updater uses an alternate mechanism for downloading and applying updates that works successfully, even if the original user was just a standard user with limited rights (no administrative rights).

In order to elevate the java updater so that standard users can install java updates, we must first set the application compatibility mode of the java updater so that will run in compatibility mode for Windows 2000, which did not have the “Background Intelligent Transfer Service”. This will force the Java updater to use the alternate mechanism to download the java updates.

http://privilegeforum.scriptlogic.com/Forum/aff/3/aft/193/afv/topic.aspx

So what you do is:

  1. find jucheck.exe (mine’s under %PROGRAM_FILES%\Common Files\Java\Java Update)
  2. open it’s properties and set it to run in Windows 2000 compatibility mode (for all users or at least for your elevated one!)
  3. check for updates again through Java Control Panel

The installer will nagg about your OS not being supported, but will allow you to install the update.

I got this working after about ~3 years of searching for a solution. Still waiting for Oracle to fix it. They simply fail to understand that running as superuser all the time is bad practice and a thing of the past.

share|improve this answer
    
Nice, I'll check that out! –  therefromhere May 9 '13 at 21:19
2  
I'll accept this, though I've upgraded to Windows 8 since I asked the question and this doesn't work there since the compatibility mode functionality has changed. Would be good to get another answer that works for Windows 8. –  therefromhere May 19 '13 at 3:15
    
@therefromhere: hmm.. You are right. The Windows 2000 mode is no longer around on windows 8. Have you tried other available modes (OSes older than XP)? –  predi May 20 '13 at 8:00
1  
Thank you so much - this has been such an annoying issue. My only hope is the update that java is downloading resolves this issue....can't say I'll be holding my breath. –  Andy Jun 11 '13 at 12:41
add comment

I know it's an old thread but I just ran into that problem:

Another non-permanent but quick solution:

  1. Finde jucheck.exe (i.e. %PROGRAM_FILES%\Common Files\Java\Java Update)
  2. Run the Updater in Administrator Mode via context menu.
share|improve this answer
add comment

You should try installing java with Ninite. You can just go to Ninite.com and select java under runtimes. then when you get a notification about a java update run ninite again and it will install the latest java without using the java update mechanism. it is really simple and easy no questions to answer and you can use the same ninite program to update other apps from that site as well.

share|improve this answer
1  
I'd not heard of it before and was a bit sceptical of allowing a random app to install other software, but Ninite does seem to be legit (worth mentioning that it's recommened by Tom's Hardware, Lifehacker, Techcrunch ninite.com/press ). And it works really smoothly. –  therefromhere Sep 22 '12 at 21:51
    
I'm glad you liked it. I use that program all the time to do updates on my machine and to rebuild it. –  Dave York Sep 26 '12 at 0:09
3  
Annoyingly this doesn't actually stop the problem from re-occurring - I seem to have to manually re-run the ninite install for each new Java release. –  therefromhere Nov 24 '12 at 0:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.