On my Windows 7 machine the Java update consistently fails with this error message.
(edit: The same thing happens on Windows 8).
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
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:
- find jucheck.exe (typically under
%PROGRAMFILES%Common FilesJavaJava Update
or%PROGRAMFILES(x86)%Common FilesJavaJava Update
) - open it’s properties and set it to run in Windows 2000 compatibility mode (for all users or at least for your elevated one!)
- 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.
answered May 9, 2013 at 17:00
predipredi
95210 silver badges12 bronze badges
9
Another non-permanent but quick solution is simply running jucheck.exe
in administrator mode:
- 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
- type
- Run Java updater
jucheck.exe
in administrator mode via context menu:- Push right mouse button on `jucheck.exe
- Select «Run as administrator».
Run5k
15.7k24 gold badges49 silver badges63 bronze badges
answered Apr 16, 2014 at 10:52
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
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:
- Select Internet Options.
- In the Internet Properties window select the Advanced tab.
- Scroll to the Security section.
- Make sure to select all of Use SSL and Use TLS check boxes.
- 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
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
d4v3y0rkd4v3y0rk
1,2271 gold badge8 silver badges11 bronze badges
3
на моей машине Windows 7 Обновление Java последовательно терпит неудачу с этим сообщением об ошибке.
(edit: то же самое происходит и в Windows 8).
Это, кажется, общая проблема, кто-нибудь имеет представление о том, что происходит не так, и есть ли исправление для него, кроме либо отключения проверки обновления (кажется плохой идеей с точки зрения безопасности) или ждет сообщения кляча, а затем вручную установить новую версию (раздражает и глупо с точки зрения удобства использования).
обратите внимание, что я установил предыдущую версию вручную (обновление с 6.23 до 6.30 я думаю?), думая, что это может решить проблему, но не повезло.
There have been a few occasions recently where a Java update fails
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:
- find jucheck.exe (typically under
%PROGRAMFILES%Common FilesJavaJava Update
or%PROGRAMFILES(x86)%Common FilesJavaJava Update
) - open it’s properties and set it to run in Windows 2000 compatibility mode (for all users or at least for your elevated one!)
- 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:
- 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
- type
- Run Java updater
jucheck.exe
in administrator mode via context menu:- Push right mouse button on `jucheck.exe
- Select «Run as administrator».
Tags:
Windows
Java
Windows 7
Windows 8
Related
therefromhere
2012-04-22 в 02:05
На моем компьютере с Windows 7 обновление Java постоянно завершается с этим сообщением об ошибке.
(редактировать: то же самое происходит в Windows 8).
Похоже, это общая проблема: кто-нибудь понимает, что происходит, и есть ли какое-то решение для этого, кроме отключения проверки обновлений (кажется плохой идеей с точки зрения безопасности) или ожидания сообщения о недовольстве и затем установка новой версии вручную (раздражающая и глупая с точки зрения удобства использования).
Обратите внимание, что я установил предыдущую версию вручную (с 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
Итак, что вы делаете:
- найти jucheck.exe (обычно под
%PROGRAMFILES%Common FilesJavaJava Update
или%PROGRAMFILES(x86)%Common FilesJavaJava Update
) - откройте его свойства и установите его для работы в режиме совместимости с Windows 2000 (для всех пользователей или хотя бы для вашего повышенного уровня!)
- снова проверьте наличие обновлений через панель управления Java
Установщик предупредит вас, что ваша ОС не поддерживается, но позволит установить обновление.
Я получил эту работу после ~ 3 лет поиска решения. Все еще жду, пока Oracle исправит это. Они просто не понимают, что постоянно работать в роли суперпользователя — плохая практика и дело прошлого.
sir_brickalot
2014-04-16 в 10:52
Другое непостоянное, но быстрое решение просто работает jucheck.exe
в режиме администратора:
- Найдите исполняемый файл средства обновления Java
jucheck.exe
, используя одно из следующих действий:- введите
jucheck
в поле поиска меню «Пуск». - Смотреть в
%PROGRAM_FILES%Common FilesJavaJava Update
- введите
- Запустите программу обновления Java
jucheck.exe
в режиме администратора через контекстное меню:- Нажмите правую кнопку мыши на `jucheck.exe
- Выберите «Запуск от имени администратора».
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 с двумя экранами