设置jdk的编码

在环境变量中:

 JAVA_TOOL_OPTIONS
-Dfile.encoding=utf-8 -Duser.language=en -Duser.country=US
原文地址:https://www.cnblogs.com/james-roger/p/6186789.html