LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Closed Thread
  Search this Thread
Old 04-21-2005, 08:39 PM   #1
scherl
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Java getHostAddress Exception


We are running a Java application that calls
InetAddress.getLocalHost().getHostAddress() and we are getting
the Exception in main thread UnknownHostException. We have
tried everything and it looks like our hostname is set properly,
but have not been able to get around this error.

This application works fine in Gentoo Linux and also Fedora Core 3,
but we are trying to port it to Suse and it just doesn't work. Our
network configuration seems to be fine. We have checked it
many times. Somehow the problem must have something to do
with the specifics of Suse.

Any help will be appreciated.

Rich

Richard Scherl
Monmouth University
New Jersey
 
Old 04-21-2005, 10:13 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...hreadid=315878
 
Old 04-22-2005, 12:55 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Closed as per above.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java exception: java.lang.NoClassDefFoundError kath Programming 12 05-11-2006 04:37 AM
Java 'Main' exception question magnumbi Programming 2 10-11-2005 12:41 PM
Java getHostAddress Exception -- Suse scherl Programming 1 04-23-2005 03:58 AM
Java: try won't catch exception nro Programming 3 09-15-2004 11:28 PM
use php run java command Exception antony_csf Programming 2 06-16-2004 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration