1. Forcing the use of English in JDK7 tools
javac -J-Duser.language=en xxx.java
java -Duser.language=en xxx
Execute below in the Run command window:
--------------------------------------------------
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v JAVA_TOOL_OPTIONS /d -Duser.language=en /t REG_SZ /f
Reference: http://stackoverflow.com/questions/6217297/forcing-the-use-of-english-in-jdk7-tools
2. Compile and run multiple classes
1.) Navigate to the directory of files
2.) mkdir bin
3.) javac *.java -d bin
4.) java -cp bin DogTestDrive
原文:http://www.cnblogs.com/weihongji/p/3898114.html