eclipse classic 是eclipse的标准版:标准版; Eclipse Classic的带有source 建议使用Eclipse Classic,需要插件自己安装配置即可 安装相应插件: 1.安装wtp,方便web开发 打开菜单help->Install new Software,单击“add..”按钮,弹出框的name和location都填入“http://download./webtools/updates/”,等待一会,勾选“Web Tools Platform (WTP) 3.1.2” 2.安装“java decompiler” 打开菜单help->Install new Software,单击“add..”按钮,弹出框的name和location都填入“http://java.decompiler./jd-eclipse/update”,等待一会,勾选“Java Decompiler Eclipse Plug-in”,按向导进行安装。 相关配置: 1.统一设置为utf-8编码,Window->Preferences->General->Workspace->Text file encoding->Other->UTF-8。 2.修改jsp等默认编码为utf-8,打开Window->Preferences->Web->Jsp Files,修改右面的encoding为(utf-8)。 3.统一设置为utf-8编码,Window->Preferences->General->Content Types,在右面选择“Text”,在default encoding输入“UTF-8”,点“update”按钮更新。 经过配置后,所有的新建的java、jsp、txt、html、xml、文件夹等编码都是utf-8,这样在jsp、html等文件中设定编码为utf-8,可以避免乱码。 |
|
来自: 0728zxx > 《java基础知识》