Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two jre folder

 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed an older version of jdk under program file/java/. So it had "jdk6" and "jre6". I uninstalled it but the "jre6" folder didn't go away. I tried to delete it bbut got "check if disk is full or..." error, can't delete it. when I install a new jdk version it gives error. So when it asked me location for jre I use "jre6new", this time it works. So now I have "jre6" and "jre6new" folders under "java". Will this cause problem ? How does app know which jre folder it is using ?
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you install the JDK, it installs two JREs: one inside the JDK folder and another separate one. You need to uninstall that as well through the control panel.

As your Java installation may now be inoperable I would uninstall the JRE, then remove any remaining folders, then reinstall the JRE.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:When you install the JDK, it installs two JREs: one inside the JDK folder and another separate one. You need to uninstall that as well through the control panel.

As your Java installation may now be inoperable I would uninstall the JRE, then remove any remaining folders, then reinstall the JRE.

i agree with Rob , and check in the task manager about javaw.exe process then end it this making you cant delete the folder
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic