Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the display language of javac to English?

Tags:

java

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?

like image 628
Agargara Avatar asked May 20 '14 01:05

Agargara


1 Answers

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

like image 61
ajbee Avatar answered Oct 01 '22 23:10

ajbee