一.安装事项
1.注意事项:eclipse3.7版本需要JDK6(eclipse3.7.1开始支持JDK7)
JDK-6u30
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u30-download-1377139.html
2.修改eclipse.ini中(根据情况设置)
--launcher.XXMaxPermSize
256m
为
--launcher.XXMaxPermSize
128m
3.插件安装记录
Indigo - http://download.eclipse.org/releases/indigo
General Purpose Tools:
1)Marketplace Client
http://subclipse.tigris.org/update_1.6.x
Subclipse:
1)CollabNet Merge Client
2)Subclipse
3)Subclipse Integration for Mylyn 3.x
4)Subversion Client Adapter
5)Subversion JavaHL Native Library Adapter
6)Subversion Revision Graph
http://eclipse-color-theme.github.com/update
Eclipse Color Theme
1)Eclipse Color Theme
http://download.eclipse.org/releases/indigo/
Web, XML,Java EE and OSGI Enterprise Development
1)Eclipse Java EE Developer Tools
2)Eclipse Java Web Developer Tools
3)Eclipse Web Developer Tools
4)Eclipse Xml Editors and Tools
5)Eclipse XSL Developer Tools
6)JavaScript Development Tools
7)OSGi Bundle Facet(Incubation)
8)Rich Ajax Platform(RAP) Tooling
9)Web Page Editor
4.插件卸载方式
1)Help - Install New Software - What is already installed? - Installed Software - Uninstall
2)Help - Eclipse Marketplace - Installed
5.编码设置
Window - Preferences - General - Workspace - Text file encoding
一般设置为UTF-8
二.问题解决
1.安装Maven后,每次启动出现警告信息:Eclipse is running in a JRE, but a JDK is required
解决办法:
1)Window-Preferences-Java-Installed JREs
确定正在使用JDK,而非JRE
2)配置Eclipse.init,增加一下代码:
-vm
D:/Java/jdk1.6.0_30/bin/javaw
注意事项:
第一行为参数名称,第二行为值,两者不能写在同一行.
关于第二行的值, 因为不允许出现空格, 所以使用Progra~1或2 替代”Program Files (x86)”.如果在Program Files下, 请使用Progra~1, 如果在x86下, 则使用Progra~2.
在文件中的位置, 不能放到最后(不能在-vmargs之后), 不放心的直接放到文件最前.
(更新中)