java program to find IP address of a system