Changing Eclipse run time environment

sdfwer picture sdfwer · Jun 7, 2012 · Viewed 21.6k times · Source

A Java RunTime Environment(JRE) or Java Development Kit (JDK) must be available in order to run MemoryAnalyzer. No Java virtual mchine was found after searching the following locations: C:\Documents and Settings......

My question is how do I change the path of the JRE or JDK?

Note I have eclipse working completely fine.

Answer

kosa picture kosa · Jun 7, 2012
Window--Preferences---Java-->Installed JREs

There you can add JRE path.