Maybe it will be useful for someone, I used postgresql with jdbc, and I had error messages not in English. The VM options -Duser.language=en -Duser.country=US helped me
-Duser.language=en -Duser.country=US