How to check for the JRE version in eclipse?

2019-02-16 23:50发布

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

4条回答
贼婆χ
2楼-- · 2019-02-17 00:00

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

查看更多
可以哭但决不认输i
3楼-- · 2019-02-17 00:16

Please see the following figure.

click on Run from menu bar ->select Run Configuration

Select JRE on tab

查看更多
乱世女痞
4楼-- · 2019-02-17 00:22

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.

查看更多
祖国的老花朵
5楼-- · 2019-02-17 00:22

Goto Window->Preference->Installed JRES

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

查看更多
登录 后发表回答