Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does < Microsoft Windows RMI/my java debugger/IDE/other> hang for a couple of minutes if my PC is not dialed up to the Internet?

0
Posted

Why does < Microsoft Windows RMI/my java debugger/IDE/other> hang for a couple of minutes if my PC is not dialed up to the Internet?

0

The Java language has networking support built in. When the program starts the Winsock DLL automatically gets loaded. The first thing this does is to try to resolve the fully qualified domain name for your machine under the name “localhost”. If your system doesn’t have this name mapped, it will try to query a nameserver on the internet, which is typically (on a PC) your dialup ISP. So it either prompts you to connect to the ISP, or waits till the attempt times out. Some people say you can avoid the Win95 problem by giving your system another way to resolve DNS names. This tip has never worked for me. Edit the hosts file for your system so that localhost and the full domain name are both mentioned. On Windows 95 systems the hosts file is: %windir%\HOSTS (for example, C:\WINDOWS\HOSTS). On Windows NT systems the hosts file is: %windir%\System32\DRIVERS\ETC\HOSTS (for example, C:\WINNT\System32\DRIVERS\ETC\HOSTS). One gotcha under Win95 is that if the last entry in the hosts file is not c

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.