Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the experience of uninstalling JDK?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

JDK uninstall experience is what, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Sometimes you find that your Java program doesn't work or have other problems before development. What is the reason for this? This involves an order of installation or configuration. Then let's start our introduction.

JDK uninstall: I directly copied back the company's JDK installation file, a total of about 70m, I do not know what version it is. I also installed JDK,Eclipse and Tomcat in one breath, and then imported the project into Eclipse. As soon as I opened it, it seemed that the jsp file was not recognized, and the .java file was full of errors. So I went to the Internet for help and checked for most of the day. It seemed that * understood that Tomcat must be installed before Eclipse and then installed after JDK installation, while both JDK and Tomcat must be set up so-called environment variables and configured in Eclipse after installation. On the other hand, I just installed them separately without any configuration at all, which caused the three of them not to know each other, so the projects opened by Eclipse are naturally full of errors. Ha ha, these are the most basic common sense, everyone knows, but I am a novice, never knew that the original installation program after the configuration, but also associated with other programs! At the risk of being laughed at, I listed this here in the hope that the newcomer would not make such a low-level mistake like me.

Analysis of the reasons for the failure of uninstalling JDK 1: because I installed all three programs in one breath, but later learned that they all need to be configured, so I uninstalled them all. Okay, here's the problem! When I uninstalled JDK, I didn't see JDK in the "start"-"programs" menu, so I thought maybe JDK wasn't installed on my computer, so I deleted all the contents in the folder where JDK was installed, and only jre could not be deleted. OK, the disaster began, my ignorance led to my Dragon Boat Festival all day to correct this mistake for me!

Analysis of the reasons for the failure of JDK uninstallation 2: the problem is that when I double-click the JDKSetup.exe installation file for the second time, the installation screen always flashes by, and then report such a reminder: do you want to continue to reinstall the JDK program already installed on your system? I clicked "OK", but it wasn't long before I came back to the reminder screen. So I opened "start"-- "Control Panel"-- "add or remove programs", and found JAVAUPDATE and JAVADEVELOPMENT programs inside. I clicked "remove", but the total prompt said: there is something wrong with your installer. No matter how much I delete it, I just can't delete it. So I went online to look for answers. Baidu Googled for a long time and looked at a lot of solutions, but it didn't work after trying.

For example, download a higher version of JDK and overwrite the installed JDK in the system after installation; for example, open the registry, find JAVASoftware and SUN, and delete both registration files; another example: download a powerful uninstall tool to force JDK to be uninstalled. In this way, I tried from 9: 00 a.m. to 2: 00 p.m., it was not done yet, and even the precious lunch time was wasted! But I just can't let it go.

Later saw a master said: in the registry, press Ctrl+F, enter SUN,sun,Java,java,jre,JAVA,jdk,JDK, each check to find a registration information, if it is the left side of the registration folder, the folder will be deleted directly; if it is the key value table on the right, select the right-click-delete, each field must be repeatedly found and deleted, until * can no longer find it. So I followed this method and deleted it for more than 2 hours before I finally deleted it all. I didn't expect to install a JDK and registered so much information in the registry!

Well, now that it was deleted, I started to install it, but the result let me down: the system still prompted that JDK had been installed on my computer! It makes me speechless! I thought: I have deleted all the JDK-related information in the registry, so where did the installer find clues about JDK? Is it true that the information in the registry has not been deleted? So I opened the registry and looked up the word just now. Unexpectedly, I found a number of words this time, so I deleted them one by one. Delete, in order to make sure that this time is not all deleted clean, I restart the computer and open the registry, continue to search, and this time can not be found, so I open the "start"-"Control Panel"-"add or remove programs", well, this time there are no JAVAUPDATE and JAVADEVELOPMENT programs. So I double-click the JDK installer again, and this time I can finally install it normally, and finally take a step!

I would also like to remind you that it is not necessary to install the above methods. If JDK has been associated with other programs, such as Eclipse or JDK, then you may also need to delete or uninstall these programs.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report