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,確定即可