Agargara
Agargara

Reputation: 932

How to change the display language of javac to English?

I'm using Windows 8 with Japanese language. I installed the JDK SE8, and the javac compiler messages are all in Japanese.

I tried changing the non-unicode system locale setting to English, restarted, and reinstalled the JDK, as suggested in similar questions, but now javac just displays a bunch of question marks in the command prompt. How can I change the output to English?

Upvotes: 12

Views: 7005

Answers (1)

ajbee
ajbee

Reputation: 3641

Try passing this argument: -J-Duser.language=en. See this post: Passing "-J-Duser.language" into javac through ant to ensure compilation errors are reported in the correct language

Upvotes: 15

Related Questions