How do i get the location where an rcp eclipse exported application is running ?
thank you
How do i get the location where an rcp eclipse exported application is running ?
thank you
You might want to look at the class org.eclipse.core.runtime.Platform
. More specifically the method getInstallLocation()
. There are more methods of the form getXYZLocation()
that might be more appropriate depending on what you need. Just display the locations in e.g. a message dialog to see where they point if the Javadoc isn't clear enough.