How to check for the JRE version in eclipse?
Solution 1
Open the About Eclipse dialog (Help -> About Eclipse on Windows, Eclipse -> About Eclipse on OS X)
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.
Solution 2
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.
Solution 3
Please see the following figure.
Related videos on Youtube
![Suhail Gupta](https://i.stack.imgur.com/gzQEA.jpg?s=256&g=1)
Suhail Gupta
"There's nothing more permanent than a temporary hack." - Kyle Simpson "The strength of JavaScript is that you can do anything. The weakness is that you will." - Reg Braithwaite I am on internet Twitter @suhail3 E-mail [email protected]
Updated on March 14, 2020Comments
-
Suhail Gupta over 4 years
How to check which version of
JRE
the eclipse is using ?This section :
Window--->Preferences--->Java
shows by the name of JDK :
-
Suhail Gupta over 10 yearsBut it lists by the name JDK s29.postimg.org/lk77yorev/Screenshot_at_2014_03_13_22_20_57.png
-
Suhail Gupta over 10 yearsunder my jre tab, I see this s13.postimg.org/rk1ljg4dj/Screenshot_at_2014_03_13_22_30_19.png It says
JDK
-
T8Z over 10 yearsplease click the Alternate JRE radio button
-
matbrgz over 10 yearsThis does not guarantee to tell which JVM Eclipse uses itself.
-
Suhail Gupta over 10 yearsIn the tab that I have shown in the picture, why does it show
jdk
under thejre
tab ? Value in home variablejava.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9/jre
-
T8Z over 10 years@ Suhail Gupta -> Some of the jdk include the jre
-
T8Z over 10 years@Thorbjørn Ravn Andersen -> Hello, yes this is not guarantee but it can know the jre version so I suggested this. Thank you for your comment.
-
matbrgz over 10 yearsJDK's include JRE's. And the public source which Eclipse knows how to use.