Reprint please specify the source http://blog.csdn.net/pearyangyang/article/details/43016041
Because I wanted to have an understanding of lambda expressions, I installed jdk1.8 on my computer, but it caused the previous system not to open because the previous system was developed based on jdk1.6. So now there is a virtual machine error message on the run. The most stupid way is to restore ~ ~ ~ ╮(╯▽╰)╭ reluctantly, had to unload JDK1.8, but still can not run. So I thought of cleaning up the registry.
1. Remove all JDK installation files, including Java (TM) SE Development Kit 6 Update 10 and Java (tm) 6 update
2. Enter Regedit, enter HKEY_CURRENT_USER, and then enter software to delete all the Java files inside.
3. Enter HKEY_LOCAL_MACHINE, then enter software, and delete all Java files inside.
4. Reinstall the JDK and replace the path of the previous environment variable to ~
JDK replacement causes previous software not to run