JAXB exception messages: How to change language?
OK, I found out that the language used for the JAXB event messages is determined by the java system property user.language
. The default language is therefore dependent on the system it runs on.
I changed the run configuration of my java program by adding -Duser.language=en
. This changed the language of the JAXB event messages to english.