title: Passing "-J-Duser.language" into javac through ant to ensure compilation errors are reported in the correct language
body: <p>My PC is currently set up as Japanese for testing purposes. If my java project has a compilation error the message is reported in Japanese. </p>
  
  <p>e.g.
  Compiling 1 source file to [...directory...]
  [...class...].java:172: シンボルを見つけられません。</p>
  
  <p>I would prefer to see the errors in english.</p>
  
  <p>Without using ant the fix for this is to use 
      javac -J-Duser.language=en [..java files...]
  which makes javac give english error messages (the -J tells javac to pass the rest of the argument to java)</p>
  
  <p>My question is: how do I pass this to ant 
  [editted to remove options I tried that didn't work]</p>