Reputation: 86075
I have an old version of Java runtime environment. Do I need to uninstall it before installing new JDK?
Upvotes: 3
Views: 9884
Reputation: 13728
JDK includes JRE, located in the (JAVA_HOME)/jre directory. If you install JDK you do not need to additionally install another JRE.
Upvotes: 0
Reputation: 298838
No, you can have many JDKs and JREs installed in parallel. Just pay attention to
Here's a cross-platform reference to setting these variables (but beware, some of this may be project-specific, I just couldn't find any more canonical cross-platform document)
Upvotes: 9