Host name for Eclipse Application. [message #331002] |
Wed, 20 August 2008 21:27  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds