Home > Net >  Exception message not in English using Intellij
Exception message not in English using Intellij

Time:01-10

I can't seem to change the language on the exception messages in Intellij (Getting them in my native language). Everything else in the run log / output is in English.

I have checked the settings for any deviation from English but can't find any. I also added the line "-Duser.language=en" in .vmoptions.

Example: Got a FileNotFoundException

java.io.FileNotFoundException C:\Users\SomeUser\SomeFilePath\SomeFile ***(Det går inte att hitta filen)***

CodePudding user response:

Maybe you also need to change region in .vmoptions file:

-Duser.language=en
-Duser.region=US

This will override the default language and region settings for the Java Virtual Machine (JVM) and may cause exception messages to be displayed in English.

CodePudding user response:

Have to try to add below to "Help | Edit custom VM options".

-Duser.language=en
  • Related