Java 如何在eclipse中检查JRE版本?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22385457/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to check for the JRE version in eclipse?
提问by Suhail Gupta
How to check which version of JRE
the eclipse is using ?
如何检查JRE
使用的是哪个版本的eclipse?
This section :
这个部分 :
Window--->Preferences--->Java
窗口--->首选项--->Java
shows by the name of JDK :
以 JDK 的名称显示:
回答by harshit
Goto Window->Preference->Installed JRES
转到窗口->首选项->已安装的 JRES
or Goto Project , right click Preference -> Jva Build Path -> libraries
或 Goto Project ,右键单击 Preference -> Jva Build Path -> libraries
回答by T8Z
Please see the following figure.
请看下图。
回答by greg-449
To see which Java Eclipse itself is using go to Help > About Eclipse
click Installation Details
and look at the Configuration
tab.
要查看哪个 Java Eclipse 本身正在使用,Help > About Eclipse
请单击Installation Details
并查看Configuration
选项卡。
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.
当您从 Eclipse 运行 Java 程序时,您可以选择使用哪种 Java。Preferences > Installed JREs
列出了 Eclipse 知道的 JRE(和 JDK)。在Run Configuration
该程序显示其使用Java来运行程序。
回答by Thorbj?rn Ravn Andersen
Open the About Eclipse dialog (Help -> About Eclipse on Windows, Eclipse -> About Eclipse on OS X)
打开关于 Eclipse 对话框(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.
单击“安装详细信息”,选择“配置”选项卡,然后向下滚动到“java.home”条目。该值是所用 JVM 的路径名。