-->

How to check for the JRE version in eclipse?

2019-02-17 00:05发布

问题:

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

This section :

Window--->Preferences--->Java

shows by the name of JDK :

回答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.



回答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.



回答3:

Please see the following figure.



回答4:

Goto Window->Preference->Installed JRES

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