Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2004

Tip: Looking for answers? Try searching our database.

UnknownHostException on Japanese Windows XP - Please Help!!!

Thread view: 
Dave Raskin - 26 Apr 2004 20:17 GMT
Hello,

I am running the following code on Japanese Windows XP:

String localHostName = java.net.InetAddress.getLocalHost().getHostName();

If the Computer name is in English, this works fine.

If the Computer name is in Japanese, I get an UnknownHostException in
InetAddress.java, line 1191.

If I run this same code on a Japanese Windows 2K, with a Japanese computer
name, it works fine.

I tried 3 different JREs: 1.3.1_11, 1.4.2_01, and 1.4.2._04 - same result.
This seems to be a difference between Windows 2K and XP.

I searched the web and the forums and I can't see any reference to this
specific problem. Is this a known issue?

Thanks in advance!

Dave Raskin
draskin@rimage.com
Ben Aroia - 29 Apr 2004 13:46 GMT
> Hello,
>
[quoted text clipped - 20 lines]
> Dave Raskin
> draskin@rimage.com
probly not. it could be the language. perhaps the servers are
diffrent? i dont really know.
-ben


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.