Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > UnknownHostException on Japanese Windows XP - Please Help!!!

Thread Tools

UnknownHostException on Japanese Windows XP - Please Help!!!

Dave Raskin
Posts: n/a

I am running the following code on Japanese Windows XP:

String localHostName =;

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

If the Computer name is in Japanese, I get an UnknownHostException in, 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 Removed)

Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LinkLocal Address ( InetAddress.getByName throws UnknownHostException ) saggar Java 2 06-17-2011 01:33 PM
Java Webstart not working offline (NoRouteToHostException/UnknownHostException) Mathias Lin Java 1 09-15-2010 07:22 AM
Translation Japanese Please Matt Computer Support 2 12-01-2007 08:40 PM
Unhandled exception type UnknownHostException Linus Java 1 02-25-2005 11:21 AM
UnknownHostException --- Does JVM cache results from DNS queries? noone Java 3 11-11-2003 12:37 AM