Java ошибка failed to download required installation files

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.

asked Apr 22, 2012 at 2:05

therefromhere's user avatar

therefromheretherefromhere

8,36210 gold badges41 silver badges43 bronze badges

3

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 (typically under %PROGRAMFILES%Common FilesJavaJava Update or %PROGRAMFILES(x86)%Common FilesJavaJava 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.

pkowalczyk's user avatar

answered May 9, 2013 at 17:00

predi's user avatar

predipredi

95210 silver badges12 bronze badges

9

Another non-permanent but quick solution is simply running jucheck.exe in administrator mode:

  1. Find Java updater executable jucheck.exe by using one of the following:
    • type jucheck in the search field of start menu.
    • Look in %PROGRAM_FILES%Common FilesJavaJava Update
  2. Run Java updater jucheck.exe in administrator mode via context menu:
    1. Push right mouse button on `jucheck.exe
    2. Select «Run as administrator».

Run5k's user avatar

Run5k

15.7k24 gold badges49 silver badges63 bronze badges

answered Apr 16, 2014 at 10:52

sir_brickalot's user avatar

5

I know this is a very old question, but in case this helps someone else:

I was having this problem, and it turns out I had a couple of «jre*» processes running. I assume these are Java Runtime Environments that had failed to work before, and they had some resource locked.

Just make sure you’re not running any Java apps, then open Task Manager, look for any processes beginning with «jre», and end them. Then try running jucheck.exe again. Worked for me.

answered Aug 12, 2021 at 15:05

HiredMind's user avatar

If you are like me and have tried it all without success, especially on Windows 7, make sure the problem isn’t related to secure channel error 409. You won’t see that with jucheck.exe though as it will just keep trying to download an update for a while (0% progress), then fail with download error. It will also fail with Ninite.

What solved it for me and is worth a shot:

  1. Select Internet Options.
  2. In the Internet Properties window select the Advanced tab.
  3. Scroll to the Security section.
  4. Make sure to select all of Use SSL and Use TLS check boxes.
  5. Click Apply, then OK.

That’s it. From now on the Java update (as well as Ninite) should work for you. Took me a while to figure this one out, so hopefully it still helps someone in 2022 and beyond :)

answered Jul 29, 2022 at 19:20

monsune's user avatar

monsunemonsune

2411 silver badge4 bronze badges

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.

answered Sep 19, 2012 at 15:37

d4v3y0rk's user avatar

d4v3y0rkd4v3y0rk

1,2271 gold badge8 silver badges11 bronze badges

3

на моей машине Windows 7 Обновление Java последовательно терпит неудачу с этим сообщением об ошибке.

(edit: то же самое происходит и в Windows 8).

Failed to download required installation files.

Это, кажется, общая проблема, кто-нибудь имеет представление о том, что происходит не так, и есть ли исправление для него, кроме либо отключения проверки обновления (кажется плохой идеей с точки зрения безопасности) или ждет сообщения кляча, а затем вручную установить новую версию (раздражает и глупо с точки зрения удобства использования).

обратите внимание, что я установил предыдущую версию вручную (обновление с 6.23 до 6.30 я думаю?), думая, что это может решить проблему, но не повезло.

There have been a few occasions recently where a Java update fails

Java Update failed to download the required files

Having looked about for a solution, there is two methods that i have found to quickly rectify the problem.

1) The cheats way.
Re-install java on top of itself.

NB, Java has many different versions depending on which OS and update version of the OS you are using, the quickest way to re-install with the latest version i have found is to use Ninite. This will find version and install it correctly for you.
https://ninite.com/java8/

2) Edit compatibility settings on the Java updater.

go to: %PROGRAMFILES%Common FilesJavaJava Update

and find jucheck.exe (updater)

right click --> Properties --> Compatibility

select the tick box to run with a previous version of windows, anything before Vista seems to do the job. (XP, Win95 etc…) As this is just the updater and not java, it ensures you still get the correct version.

BONUS 3)
This seems to be an issue with privilege elevation in windows – if you have access to an admin account, then you can log into that then try updating 8/10 it works without the above.

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 (typically under %PROGRAMFILES%Common FilesJavaJava Update or %PROGRAMFILES(x86)%Common FilesJavaJava 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.

Another non-permanent but quick solution is simply running jucheck.exe in administrator mode:

  1. Find Java updater executable jucheck.exe by using one of the following:
    • type jucheck in the search field of start menu.
    • Look in %PROGRAM_FILES%Common FilesJavaJava Update
  2. Run Java updater jucheck.exe in administrator mode via context menu:
    1. Push right mouse button on `jucheck.exe
    2. Select «Run as administrator».

Tags:

Windows

Java

Windows 7

Windows 8

Related

therefromhere

2012-04-22 в 02:05

На моем компьютере с Windows 7 обновление Java постоянно завершается с этим сообщением об ошибке.

(редактировать: то же самое происходит в Windows 8).

Failed to download required installation files.

Похоже, это общая проблема: кто-нибудь понимает, что происходит, и есть ли какое-то решение для этого, кроме отключения проверки обновлений (кажется плохой идеей с точки зрения безопасности) или ожидания сообщения о недовольстве и затем установка новой версии вручную (раздражающая и глупая с точки зрения удобства использования).

Обратите внимание, что я установил предыдущую версию вручную (с 6.23 до 6.30, я думаю?), Полагая, что это может решить проблему, но не повезло.


3 ответа на вопрос

predi

2013-05-09 в 17:00

Я, наконец, получил это после прочтения следующего:

Оказывается, что когда программа обновления Java пытается загрузить новые обновления, она использует службу Windows, которая называется «Фоновая интеллектуальная служба передачи» (BITS). Если вошедший в систему пользователь является только обычным пользователем, то для обновления Java не удается правильно использовать службу BITS для загрузки нового обновления. Однако, если служба BITS недоступна для использования программой обновления Java (либо служба отключена, либо в вызывающем процессе запрещены разрешения), программа обновления Java использует альтернативный механизм загрузки и применения обновлений, который работает успешно, даже если оригинальный пользователь был просто обычным пользователем с ограниченными правами (без административных прав).

Чтобы повысить уровень обновления Java, чтобы обычные пользователи могли устанавливать обновления Java, мы должны сначала установить режим совместимости приложений для средства обновления Java, чтобы он работал в режиме совместимости для Windows 2000, в которой не было «фоновой интеллектуальной службы передачи»., Это заставит программу обновления Java использовать альтернативный механизм для загрузки обновлений Java.

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

Итак, что вы делаете:

  1. найти jucheck.exe (обычно под %PROGRAMFILES%Common FilesJavaJava Updateили %PROGRAMFILES(x86)%Common FilesJavaJava Update)
  2. откройте его свойства и установите его для работы в режиме совместимости с Windows 2000 (для всех пользователей или хотя бы для вашего повышенного уровня!)
  3. снова проверьте наличие обновлений через панель управления Java

Установщик предупредит вас, что ваша ОС не поддерживается, но позволит установить обновление.

Я получил эту работу после ~ 3 лет поиска решения. Все еще жду, пока Oracle исправит это. Они просто не понимают, что постоянно работать в роли суперпользователя — плохая практика и дело прошлого.

sir_brickalot

2014-04-16 в 10:52

Другое непостоянное, но быстрое решение просто работает jucheck.exeв режиме администратора:

  1. Найдите исполняемый файл средства обновления Java jucheck.exe, используя одно из следующих действий:
    • введите jucheckв поле поиска меню «Пуск».
    • Смотреть в %PROGRAM_FILES%Common FilesJavaJava Update
  2. Запустите программу обновления Java jucheck.exeв режиме администратора через контекстное меню:
    1. Нажмите правую кнопку мыши на `jucheck.exe
    2. Выберите «Запуск от имени администратора».

d4v3y0rk

2012-09-19 в 15:37

Вы должны попробовать установить Java с Ninite. Вы можете просто зайти на Ninite.com и выбрать Java под runtime. затем, когда вы получите уведомление об обновлении Java, снова запустите ninite, и он установит последнюю версию Java без использования механизма обновления Java. это действительно просто и легко, без вопросов, и вы можете использовать ту же программу Ninite для обновления других приложений с этого сайта.

Похожие вопросы

  • 12
    Почему папка / winsxs становится такой большой и ее можно уменьшить?


  • 2
    Повышенные привилегии для запуска приложений в Windows?


  • 14
    PDF Viewer в Windows



  • 7
    Какие службы Windows можно безопасно отключить?


  • 8
    Firefox PDF плагин для просмотра PDF в браузере на Windows


  • 1
    Windows теряет макет экрана


  • 1
    Есть ли способ предотвратить установку / обновление, чтобы засорять мой жесткий диск загадочными пап…


  • 1
    Как я могу получить доступ к принтеру Windows Vista из Ubuntu по сети?


  • 6
    Просмотр журнала в Windows


  • 3
    Фоновая проблема Windows с двумя экранами


Понравилась статья? Поделить с друзьями:
  • Java ошибка 1601 windows 7
  • Java как завершить программу с ошибкой
  • Java для windows 10 ошибка 1603
  • Java вывести сообщение об ошибки
  • Java windows 10 ошибка 1603 при