好像是你的命令行是utf8编码的,你把文件另存为utf8编码的应该就好了
javac加参数 -encoding utf8 编译utf8文件。javac -encoding utf8 xxx.javanotepad++右下角看文件文件的当前编码。