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"
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步