Reputation: 5441
When developing web application with 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.
Upvotes: 35
Views: 57457
Reputation: 1349
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.
Upvotes: 1
Reputation: 1108712
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
Upvotes: 57
Reputation: 21391
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).
Upvotes: 10
Reputation: 15757
Have you tried setting the following -D parameters in the launch configuration?
-Duser.language=en -Duser.country=US -Duser.variant=EN
Upvotes: 8