Java: How to change the language of java.util.logging to English?

前端 未结 1 1229
一整个雨季
一整个雨季 2021-01-13 12:58

I have java.util.logging to print output to a file. It works fine. However, the messages contain chinese characters which correspond to the log level and th

相关标签:
1条回答
  • 2021-01-13 13:42

    Start your application by passing the language on the command-line to override the current default language of the OS.

    java -Duser.language=en MyApplication
    
    0 讨论(0)
提交回复
热议问题