Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Host name for Eclipse Application.
Host name for Eclipse Application. [message #331002] Wed, 20 August 2008 21:27 Go to next message
Irum Godil is currently offline Irum GodilFriend
Messages: 35
Registered: July 2009
Member
Hi,

I would like to know if there is an Eclipse API to return the machine name
where the Eclipse is running. I could not find such an API, but if someone
knows of it I will really appreciate it.

Also, if this is not the right place to post this question, please let me
know which forum should I post it on.

Thanks.
Irum Godil.
Re: Host name for Eclipse Application. [message #331003 is a reply to message #331002] Wed, 20 August 2008 23:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
InetAddress.getLocalHost().getHostName() (not specific to Eclipse) seems
to be doing the job.

Cheers,
Dimitrios

Irum Godil wrote:
> Hi,
>
> I would like to know if there is an Eclipse API to return the machine
> name where the Eclipse is running. I could not find such an API, but if
> someone knows of it I will really appreciate it.
> Also, if this is not the right place to post this question, please let
> me know which forum should I post it on.
> Thanks. Irum Godil.
>
Re: Host name for Eclipse Application. [message #331007 is a reply to message #331003] Thu, 21 August 2008 02:36 Go to previous message
Irum Godil is currently offline Irum GodilFriend
Messages: 35
Registered: July 2009
Member
Thanks a lot! This works.
Previous Topic:ScrolledForm odd refresh issues
Next Topic:How do I know if Save button is pressed?
Goto Forum:
  


Current Time: Tue Jul 16 13:51:29 GMT 2024

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

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

Back to the top