eclipse 日蚀版
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2313660/
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
Eclipse Version
提问by daniyalzade
How do you check the current version of eclipse that I am currently running? Is it possible to tell if it is aqua or carbon (I am running Mac OS X 10.5)?
你如何检查我当前运行的 eclipse 的当前版本?是否可以判断它是浅绿色还是碳纤维(我运行的是 Mac OS X 10.5)?
回答by zb.
My eclipse has a file .eclipseproduct
in its' main folder which contains:
我的日食.eclipseproduct
在其主文件夹中有一个文件,其中包含:
name=Eclipse Platform
id=org.eclipse.platform
version=3.4.0
Perhaps that might help?
也许这可能会有所帮助?
Edit: Couldn't find any useful command-line switch for that task.
编辑:找不到该任务的任何有用的命令行开关。
回答by Mick
In case anyone has installed one of the 'bundled' versions of Eclipse (e.g. bundled with EE development tools as below) and is still looking, the steps below will show the 'bundled' version and the platform version (and other component versions also):
如果有人安装了 Eclipse 的“捆绑”版本之一(例如,与 EE 开发工具捆绑在一起,如下所示)并且仍在寻找,以下步骤将显示“捆绑”版本和平台版本(以及其他组件版本) :
First select 'About Eclipse' from the Eclipse menu:
首先从 Eclipse 菜单中选择“关于 Eclipse”:
then select 'Installation details from the box below'
然后从下面的框中选择“安装详细信息”
Next click on the triangle against 'Eclipse IDE for Java EE Developers' below to expand it:
接下来单击下面“Eclipse IDE for Java EE Developers”旁边的三角形将其展开:
And now you should be able to read the version numbers, as below:
现在您应该能够读取版本号,如下所示:
By now of course you may be wondering if everything else in the IDE is this obscure...
当然,现在您可能想知道 IDE 中的其他所有内容是否都如此晦涩...
回答by Dan McGrath
Can't you just go Help
-> About Eclipse
你就不能走吗Help
->About Eclipse
(source: uni-kassel.de)
(来源:uni-kassel.de)
(ignore the actually selected menu)
(忽略实际选择的菜单)
回答by DrANoel
They don't make it very clear. They could do a better job of clarifying which release name and version number you're are working with.
他们没有说得很清楚。他们可以更好地阐明您正在使用的版本名称和版本号。
回答by dan_s
Some of you are right, the developer version it is not very clear.
你们有些人是对的,开发者版本不是很清楚。
Anyway, go to help and then About Eclipse a new window opens then go to Installation details and click on the installation window Installed Software tab you would see the version.
无论如何,转到帮助然后关于 Eclipse 会打开一个新窗口,然后转到安装详细信息并单击安装窗口已安装的软件选项卡,您将看到版本。
回答by sidereal
Eclipse Menu -> About Eclipse SDK
Eclipse 菜单 -> 关于 Eclipse SDK
回答by rai.skumar
I too have struggled a lot to get version number of Eclipse. Also as discussed in other posts we can easily get the name but NOTthe version number. I found a more simpler way to get the version number:
我也为获得 Eclipse 的版本号而苦苦挣扎。同样在其他帖子中讨论过,我们可以轻松获取名称,但不能获取版本号。我找到了一种更简单的方法来获取版本号:
Each Eclipse installation directory in your system has a html readme file at eclipse/readme/readme_eclipse
. Just open that and you will notice the first 2 lines of the html file has version details.
系统中的每个 Eclipse 安装目录都有一个 html 自述文件,位于eclipse/readme/readme_eclipse
. 只需打开它,您就会注意到 html 文件的前 2 行包含版本详细信息。
eclipse Juno
Release 4.2.0 ; Last revised June 8th, 2012Eclipse Indigo
Release 3.7.2 ; Last revised Feb 7, 2012Eclipse Helios
Release 3.6.2 ; Last revised February 10, 2011
eclipse Juno
发布 4.2.0 ; 上次修订日期为 2012 年 6 月 8 日Eclipse Indigo
版本 3.7.2 ; 最后修订于 2012 年 2 月 7 日Eclipse Helios
版本 3.6.2 ; 上次修订时间:2011 年 2 月 10 日
回答by Neeme Praks
There is a system property eclipse.buildId(for example, for Eclipse Luna, I have 4.4.1.M20140925-0400as a value there).
有一个系统属性eclipse.buildId(例如,对于 Eclipse Luna,我的值是4.4.1.M20140925-0400)。
I'm not sure in which version of Eclipse did this property become available.
我不确定这个属性在哪个版本的 Eclipse 中可用。
Also, dive right in and explore all the available system properties -- there is quite a bit of information available under eclipse.*, os.* osgi.* and org.osgi.* namespaces.
此外,深入探索所有可用的系统属性——在 eclipse.*、os.* osgi.* 和 org.osgi.* 命名空间下有相当多的可用信息。