| eclipse takes OS language as default - how to disable? [message #781122] |
Fri, 20 January 2012 10:54  |
Ben S. Messages: 6 Registered: January 2012 |
Junior Member |
|
|
Yeah, I got my eclipse in english and want to program in english.
but when I test my programs within eclipse using the scanner class and typing a double number like 100.00 I get a InputMismatchException.
Fair enough, makes sense because the scanner uses invisible the locale language of the OS (which is german) and expects 100,00.
My question is now:
How can I tell eclipse not to use my OS language as ANY default?
I dont want to set that for each class manually all the time...
I already tried Window -> Preferences -> Java -> Installed JREs ->
Edit -> Default VM Arguments: -Duser.language=en -Duser.country=US -Duser.variant=EN
and to write something I found on google into the eclipse.ini but nothing worked at all.
Does anybody know the problem?
|
|
|
|
|
|
| Re: eclipse takes OS language as default - how to disable? [message #782218 is a reply to message #782148] |
Mon, 23 January 2012 06:09   |
Ben S. Messages: 6 Registered: January 2012 |
Junior Member |
|
|
I am sorry but I dont get you. Perhaps you assume a preknowledge that just isn't there in my case.
The default VM Arguments were empty (before I plugged them in as described).
In my case it seems not to honor them because even with them its not working (within eclipse, didnt try it via console and manual arguments).
So how could I 'file a bug' with detailed steps to reproduce it?
I mean, anybody with a different number format than the english one should have the same problem if they do not want to use their OS language norm.
[Updated on: Mon, 23 January 2012 06:10] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08112 seconds