With the NetWare JVM, the call java.net.InetAddress.getLocalHost().getHostName() will return the name of the NetWare server. To obtain the fully qualified domain (DNS) name, (FQDN) of the local host, use the following:
InetAddresslocalhost=InetAddress.getByName(InetAddress.getLocalHost().getHostAddress() );
The object, localhost, now contains the correct FDQN and can be obtained via the call, localhost.getHostName.