怎么卸载jre12.0.1
I was doing some work for a client, and they were having an issue with an application that uses Java. As it turns out, they can't install or remove the version of Java that is on the laptop.
我正在为客户端做一些工作,而他们在使用Java的应用程序方面遇到了问题。 事实证明,他们无法安装或删除笔记本电脑上的Java版本。
I try to install/remove and I get:
我尝试安装/删除,我得到:
Java 7 Update 45
Java 7更新45
The feature you are trying to use cannot be found.
找不到您要使用的功能。
Use source ( in the box there is a 1)
使用来源(框中有一个1)
I click OK and it gives me
我单击确定,它给了我
The path 1 cannot be found try to find the installation package "jre1.7.0._17-c.msi in a folder.
找不到路径1尝试在文件夹中找到安装包“ jre1.7.0._17-c.msi”。
I cancel out.
我取消了。
It gives me:
它给了我:
Error 1714 The older version of Java cannot be removed.
错误1714无法删除Java的较早版本。
I search the web for all different solutions, about 5 hours worth and nothing.
我在网上搜索所有不同的解决方案,大约需要5个小时,什么也没有。
Deleting any Java related folders/files in windows
在Windows中删除任何与Java相关的文件夹/文件
Making sure I removed anything related to java from the registry.
确保我从注册表中删除了与Java相关的所有内容。
Nothing worked, same result... Ready to format the machine and reload EVERYTHING...
什么都没做,结果相同...准备格式化机器并重新加载所有内容...
Then I tried the following:
然后我尝试了以下方法:
Open regedit
打开注册表
Use the find option in the edit menu
使用编辑菜单中的查找选项
I put the version of java that it was looking for when I was trying to load or unload, in the find field. In my case it was
我将在尝试加载或卸载时要查找的Java版本放在find字段中。 就我而言
jre1.7.0._17-c
jre1.7.0._17-c
Clicked find
点击查找
Boom!
繁荣!
There it was, a registry key that had my version in it, on closer inspection there were other references inside the key to the source being "1" just like the error message I got above.
在那里,有一个包含我的版本的注册表项,仔细检查后,该项中的指向源的其他引用为“ 1”,就像我上面收到的错误消息一样。
I knew this was it.
我知道就是这样。
I backed up the key.
我备份了密钥。
Deleted this key and the parent key above it which also had some additional java info in it.
删除了此键及其上方的父键,其中还包含一些其他Java信息。
Rebooted the machine and PRESTO!
重新启动机器和PRESTO!
I was able to load both the 32 and 64 bit versions of Java as needed, no hassles
我能够根据需要加载32位和64位版本的Java,没有麻烦
Hope this helps some other poor bastard like me not have to waste 5 hours to figure it out.
希望这可以帮助其他像我这样可怜的混蛋不必花5个小时来弄清楚。
怎么卸载jre12.0.1