首页 > 代码库 > Java
Java
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。