1.eclipse的字体设置
windows-->prefereces,General-->Appearance-->Colors and Fonts,basic->text font->Edit.
2.eclipse的编码格式设置
Window->Preferences->General->Workspace->text file encoding ->UTF-8->Apply->OK
3.Window->Preferences,数据jdk,installed JRES>add>standard VM>添加本地jdk,确定即可