Compile .java file error: encoding GBK unmappable character

Using the javac command to compile java reports an error:

 Solution:

Add after javac-encoding UTF-8

Guess you like

Origin blog.csdn.net/weixin_57048716/article/details/128923437