I opened eclipse 3.3.2. Now i need to get the current eclispe installation path. Is
there any eclipse API to get the eclipse installation path? Please help in this regard.
Thanks in Advance..
Snehal
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since eclipse3.4 and the p2 mechanism, you coud use
org.eclipse.osgi.service.datalocation.Location, which represents a URL.That interface includes **
ECLIPSE_HOME_FILTER**, a constant which defines the filter string for acquiring the service which specifies the eclipse home location (i.e. ‘eclipse.home.location‘.)But in eclipse3.3, just query the property value ‘
eclipse.home.location‘, as in: