I have an OracleXE 11g instance on a remote server machine. Some developers who have Russian Windows 7 SP1 can't connect to it. They got this error message:
ORA-12705: Cannot access NLS data files or invalid environment specified
There is no error if you use enUS Windows 7 SP1 machine. I tried many ways to solve this:
I checked language settings on server machine:
SELECT * FROM V$NLS_PARAMETERS;
SELECT USERENV ('language') FROM DUAL;
Both returns GERMAN_GERMANY.AL32UTF8.
I tried different ways to solve this issue by doing this:
None of this works. What should I do?
had similar problem
adding following to VM arguments helped:
-Duser.language=en
-Duser.region=us
I had this problem with MacOS, when installing SQL developer several times. Adding VM option helped me (@kilonet answer). But here I am adding a new answer specifically for resolve MacOS problem.
Modify SQL Developer product configuration file (product.conf) in below path.
~/.sqldeveloper/<sqldeveloper version>/product.conf
Add add following two entries.
AddVMOption -Duser.language=en
AddVMOption -Duser.region=us
Thanks for question and the answer.
setting _JAVA_OPTIONS is an alternative global solution to all the Java applications are stating in a terminal.
export _JAVA_OPTIONS='-Duser.language=en -Duser.region=us'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With