Re: Receives error message when trying to start JVM
Nathan Fiedler <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <1020879725.1855.11.camel@chip> |
It is a little known fact that launching a VM and connecting to a remote VM are really the same thing. When launching, the JPDA launches the debuggee in a separate process and then establishes a remote connection to it. So either way you go, the network configuration must be correct. You are in luck since I, too, run Linux. What are the contents of your /etc/hosts, /etc/resolv.conf, and /etc/nsswitch.conf files? If they are like mine, the nsswitch.conf file will have a 'hosts' line like this: hosts: files dns The resolv.conf file will have a bunch of nameserver lines to resolve names not found in the hosts file. The hosts file will probably look something like this (localhost == chip): 127.0.0.1 localhost 192.168.0.2 chip 192.168.0.3 nuts If your files are significantly different, let me know and we will try to figure it out. nathan On Wed, 2002-05-08 at 05:25, Daniel Lundborg wrote: > Hi, > > I receive an error message > > java.net.UnknownHostException: avantel.se > > when I try to start the JVM. > > I have tried to change host name in linuxconf, but I get the same result. > Has anyone seen this before? > > /Daniel