Skip to main content



      Home
Home » Newcomers » Newcomers » how to find eclipse installed path programatically?
how to find eclipse installed path programatically? [message #137732] Thu, 16 February 2006 00:37 Go to next message
Eclipse UserFriend
Originally posted by: dheepuks.yahoo.co.in

Hi,

How do i get my eclipse installed path programatically ?
i.e if i have set my ECLIPSE_HOME=C:\ECLIPSE
it must return d:\eclipse and not d:\eclipse\workspace.
Note : It should not return workspace path since it is external.
i have tried with Platform.getLocation() but it gives workspace directory.
Re: how to find eclipse installed path programatically? [message #137816 is a reply to message #137732] Thu, 16 February 2006 07:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgoblin.mail.ru

Try Platform.getInstallLocation()
Re: how to find eclipse installed path programatically? [message #137969 is a reply to message #137816] Fri, 17 February 2006 01:35 Go to previous message
Eclipse UserFriend
Originally posted by: dheepuks.yahoo.co.in

Hi,

Thanks for the reply.

I have tried it also but it returned the workspace dir. since it is
external the path cant be real one.

Thanks,
Previous Topic:Can't find PHP in Eclipse
Next Topic:Basic plugin questions
Goto Forum:
  


Current Time: Fri Sep 05 15:39:36 EDT 2025

Powered by FUDForum. Page generated in 0.08906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top