This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
How would I find the machine name using the Java API? I just tried printing out System.getProperties, and there doesn't appear to be anything relating to the actual name of the machine, only the user.name property is remotely close to what I'm looking for. Presently, I'm developing on Win2000, but we will be deploying on RedHat Linux 6.2. Thanks.