11

How to check which version of JRE the eclipse is using ?

This section :

Window--->Preferences--->Java

shows by the name of JDK :

enter image description here

Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
  • Have you tried searching? http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fpreferences%2Fjava%2Fdebug%2Fref-installed_jres.htm – Pradeep Simha Mar 13 '14 at 16:51
  • possible duplicate of [Get Eclipse IDE to show version of Java RE it's using](http://stackoverflow.com/questions/8573508/get-eclipse-ide-to-show-version-of-java-re-its-using) – femtoRgon Mar 13 '14 at 16:54

4 Answers4

17

Open the About Eclipse dialog (Help -> About Eclipse on Windows, Eclipse -> About Eclipse on OS X)

About Eclipse dialog

Click "Installation Details", choose the Configuration tab, and scroll down to the "java.home" entry. The value is the path name to the JVM used.

enter image description here

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
6

To see which Java Eclipse itself is using go to Help > About Eclipse click Installation Details and look at the Configuration tab.

When you run Java programs from Eclipse you can select which Java is used. Preferences > Installed JREs lists the JREs (and JDKs) that Eclipse knows about. The Run Configuration for the program shows which Java is used to run the program.

greg-449
  • 109,219
  • 232
  • 102
  • 145
0

Goto Window->Preference->Installed JRES

or Goto Project , right click Preference -> Jva Build Path -> libraries

harshit
  • 7,925
  • 23
  • 70
  • 97
0

Please see the following figure.

click on Run from menu bar ->select Run Configuration

Select JRE on tab

loknath
  • 1,362
  • 16
  • 25
T8Z
  • 691
  • 7
  • 17