Установка Java исчезает в Windows 7

3297
Svetlana Lebedeva

Я установил версию jre 1.8.0_51 на 64-битную Windows 7. Через некоторое время после установки я больше не мог запускать java-программы, по-видимому, из-за того, что установка исчезла. Если я запускаю «java -version» в командной строке, то java не распознается. Если я переустановлю Java, он снова будет работать некоторое время, и после этого он больше не распознается. Поэтому мне всегда приходится переустанавливать Java каждый раз, когда я хочу запустить программу.

Я не знаю, как узнать, что происходит, но это очень раздражает, любой намек будет очень полезен!

2

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

0
Winoto

Try to remove all java from the computer, restart the system and then clean out the Java folders and delete all Java registry entries.

Be aware that playing around in the registry can lead to a complete failure of windows. Make a backup first!

Какие записи реестра должны быть удалены конкретно? Какие папки должны быть удалены точно? Ramhound 8 лет назад 0
0
DavidPostill

Some time after the installation I could not run java programs anymore

seemingly because the installation disappeared.

  1. Completely remove the JRE using JavaRa (JavaRa forcibly deletes files, directories and registry keys associated with the JRE).

  2. Reinstall the JRE.


How do I completely remove an old installation of the JRE?

JavaRa is an effective way to deploy, update and remove the Java Runtime Environment (JRE). It can assist in repairing or removing Java when other methods fail.

enter image description here

Its most significant feature is the JRE Removal tool; which forcibly deletes files, directories and registry keys associated with the JRE.


Disclaimer

I am not affiliated with JavaRa in any way, I am just an end user of the software.

Стоит отметить, что JavaRa была прекращена, поскольку начиная с самых последних обновлений Java 7 и Java 8, установщик Java правильно удаляет Java. Я действительно столкнулся с ситуацией, когда JavaRa не смог решить проблему с более свежей версией Java, которую я пытался удалить, чтобы заменить ее более свежей версией, по этой причине. Ramhound 8 лет назад 0