java - How to retrieve the eclipse launch location? -


i need access eclipse.ini file . since location of eclipse.ini same location of eclipse.exe , there way access location through java code ?

you can eclipse install directory location in plugin with:

location location = platform.getinstalllocation();  url locationurl = location.geturl(); 

the eclipse.ini should in directory.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -