Java 7 returns localized error messages which causes two tests to fail...

...on non-English machines (because the tests explicitly check parts of the error message). Adding the locale to the java command invocation fixes this.