How to check for the JRE version in eclipse?

谁说我不能喝 提交于 2019-12-19 05:59:19

问题


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



来源:https://stackoverflow.com/questions/22385457/how-to-check-for-the-jre-version-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!