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

1.eclipse C:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_10\bin"
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%\bin;%JAVA_HOME%\jre\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin

 

set JAVA_HOME=D:\j2sdk1.4.2_17\
set PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
set CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

maven_home=d:\apache-maven-2.0.9
PATH=%maven_homeE%\bin

%MAVNE_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin

 

--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:\eclipse\eclipse.exe -vm "C:\JDK6\bin"
C:\eclipse64\eclipse.exe -vm "C:\JDK6-64\bin"

 

posted @   Cyber9527  阅读(476)  评论(0编辑  收藏  举报
(评论功能已被禁用)
点击右上角即可分享
微信分享提示