Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change JDK locale: javac errors in japanese but I want english

 
Jean-Christian Imbeault
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run javac I get compilation error thrown at me in Japanese. How can I tell javac to tell me I'm an idiot in english?

I've tried setting an environment variable called LANG to various things (C, en, eng, english) but nothing changes.

My windows command promt shell does display OS errors in english, but when I call javac, javac prints errors out in Japanese ...

My system is:

Windows 2000 (with japanese language installed)
j2sdk1.4.2_04

The following environment variables are set:

_OSLANG=ENGLISH
_OSLANG=ENGLISH
 
Jean-Christian Imbeault
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it!

This is what needs to be changed:

under Control Panel | Regional Options (General Tab)

my locale was set to Japan, I needed to set it to some english using locale (like US) *and* restart my windows machine.

I am happy to say that javac proudly displays my stupidity to everyone in a language I can understand
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic