This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes two jre folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "two jre folder " Watch "two jre folder " New topic
Author

two jre folder

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 374
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

Joined: Oct 27, 2005
Posts: 19649
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

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


Thanks,
Sherif
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: two jre folder
 
Similar Threads
"cannot resolve symbol" error when compiling...
Exception in thread main() error
JVM could not be loaded on windows 7
rt.jar file questions (import, size, redundancy)
jdk6.0 EE is not getting installed