开发者

How to set eclipse console locale/language

When developing web application wi开发者_如何学JAVAth Eclipse (Helios) the tomcat output is being sent to the console. Ok, but the messages are being translated to my OS language.

In fact, my Eclipse is in English, but the Tomcat output (logging) is being translated to Portuguese. Probably it's a Tomcat configuration issue, but I can't find where...

How do I change this behaviour? I want my entire Eclipse in English, including Tomcat.


Go to Window > Preferences > Java > Installed JREs > select preferred JRE > Edit and then add the following to Default VM arguments:

-Duser.language=en -Duser.country=US

How to set eclipse console locale/language


Try adding -Duser.language=en in the bottom of your eclipse.ini which is found in your eclipse installation directory (keep a backup copy of the eclipse.ini before any changes).


Have you tried setting the following -D parameters in the launch configuration?

-Duser.language=en -Duser.country=US -Duser.variant=EN


As @Rich and other answers said above::

You can add -Duser.language=en -Duser.country=US to the Run Configuration > VM arg for a specific java file.

How to set eclipse console locale/language

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜