eclipse takes OS language as default - how to disable? [message #781122] |
Fri, 20 January 2012 10:54  |
Eclipse User |
|
|
|
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?
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27192 seconds