Eclipse Java开发环境配置 + memcached + maven

1.eclipse C:eclipseeclipse.exe -vm "C:Program FilesJavajdk1.6.0_10in"
2.JDK6 set javahome path classpath
3.memcached root: memcached.exe -d install memcached.exe -d start
4.add plugin :m2eclipse & subclipse

path: %JAVA_HOME%in;%JAVA_HOME%jrein;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FilesTortoiseSVNin

set JAVA_HOME=D:j2sdk1.4.2_17
set PATH=%JAVA_HOME%in;%JAVA_HOME%jrein
set CLASSPATH=.;%JAVA_HOME%lib;%JAVA_HOME%lib ools.jar

maven_home=d:apache-maven-2.0.9
PATH=%maven_homeE%in

%MAVNE_HOME%in;%JAVA_HOME%in;%JAVA_HOME%jrein;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FilesTortoiseSVNin

--project option
add Properties Files Editor plug-in

1.Properties Editor:   http://java-properties-editor.com/eclipse

2.PropEdit:      http://propedit.sourceforge.jp/eclipse/updates/
show view --> servers add tomcat Server & add project
--> Progress
  --> Search
    --> Tasks
      --> JUnit
preference --> Installed JREs : local JDK
--> workspace ecoding : UTF-8
--> Jsp&Html file ecoding : UTF-8
--> server Runtime Environment : Apache Tomcat6's local tomcat home & JRE'option local JDK
--> editers bkground : sand Green
--> content Assist : Shift + Space

针对电脑上安装了多个JDK,eclipse启动时映射JDK,在桌面快捷方式的连接目标属性里添加如下
C:eclipseeclipse.exe -vm "C:JDK6in"
C:eclipse64eclipse.exe -vm "C:JDK6-64in"

原文地址:https://www.cnblogs.com/RocCnBlog/p/4729522.html