When you get an encoding error when compiling UTF8 source
You can pass -Dfile.encoding = UTF8
to the javac command each time, but if you can set it in an environment variable and fix it
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
It is also supported by setting a value in JAVA_TOOL_OPTIONS.
Recommended Posts