问题
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)?
回答1:
My eclipse has a file .eclipseproduct in its' main folder which contains:
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.
回答2:
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):
First select 'About Eclipse' from the Eclipse menu:
then select 'Installation details from the box below'
Next click on the triangle against 'Eclipse IDE for Java EE Developers' below to expand it:
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...
回答3:
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.
回答4:
Can't you just go Help -> About Eclipse
(source: uni-kassel.de)
(ignore the actually selected menu)
回答5:
Eclipse Menu -> About Eclipse SDK
回答6:
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.
回答7:
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 NOT the version number. I found a more simpler way to get the version number:
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 JunoRelease 4.2.0 ; Last revised June 8th, 2012Eclipse IndigoRelease 3.7.2 ; Last revised Feb 7, 2012Eclipse HeliosRelease 3.6.2 ; Last revised February 10, 2011
回答8:
There is a system property eclipse.buildId (for example, for Eclipse Luna, I have 4.4.1.M20140925-0400 as a value there).
I'm not sure in which version of Eclipse did this property become available.
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.
回答9:
On my mac it took me a while, but it is actually easy.
来源:https://stackoverflow.com/questions/2313660/eclipse-version