You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solution:
when you are trying to install
"jdk-8u271-windows-x64.exe" or "jre-8u271-windows-x64_2.exe"
but the java's default encoding is not the "UTF-8"
so you need to :
创建系统环境变量:
变量名: JAVA_TOOL_OPTIONS, 变量值:-Dfile.encoding=UTF-8
finally,input "java" command in your CMD,
you will see : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
(maybe your windows's CMD's default encoding is not the "UTF-8" too!)
i am sorry that my english is poor , you can find more help in google with the keyword “Set the JDK default encoding to UTF-8”
When there is Chinese in comment, some of characters will be garbled.
before:
after:
The text was updated successfully, but these errors were encountered: