Eclipse安裝配置
發(fā)布日期: 2019年08月23日 SHOP++
一、系統(tǒng)環(huán)境
Windows 7 64位
JDK 7u80 64位
Tomcat 7.0.64
Eclipse mars 64位
二、安裝配置
1、解壓eclipse-jee-mars-1-win32-x86_64.zip至D:/shopxx/eclipse4.5
2、配置JDK路徑,修改配置文件D:/shopxx/eclipse4.5/eclipse.ini在"-vmargs"參數(shù)之前新增如下內(nèi)容
-vm
D:/shopxx/jdk1.7/bin
3、運行D:/shopxx/eclipse4.5/eclipse.exe進入Eclipse
4、設(shè)置Eclipse字符集編碼,依次進入Window - Preferences - General - Workspace,設(shè)置"Text file encoding"為"UTF-8",如下圖所示:
5、設(shè)置Tomcat環(huán)境,依次進入Window - Preferences - Server - Runtime Environments,點擊"Add...",選擇"Apache Tomcat v7.0"并點擊"Next",完成相關(guān)設(shè)置后點擊"Finish",如下圖所示:
6、新增Tomcat服務(wù),在Servers窗口依次右鍵New - Server,選擇"Tomcat v7.0 Server"并完成相關(guān)設(shè)置后點擊"Finish",如下圖所示:
7、設(shè)置Tomcat服務(wù),在Servers窗口雙擊"Tomcat v7.0 Server at localhost",完成相關(guān)設(shè)置后按"Ctrl + s"保存,如下圖所示:
8、設(shè)置Tomcat內(nèi)存,在Servers窗口雙擊"Tomcat v7.0 Server at localhost"并依次進入Open launch configuration - Arguments在"VM arguments"設(shè)置項后新增值"-Xms512m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m",如下圖所示:
9、安裝Eclipse插件,依次進入Help - Install New Software...,點擊"Add...",輸入名稱、網(wǎng)址后點擊"OK",如下圖所示:
推薦插件:
Subclipse:https://dl.bintray.com/subclipse/releases/subclipse/latest
Freemarker:http://download.jboss.org/jbosstools/neon/stable/updates
Propedit:http://propedit.sourceforge.jp/eclipse/updates
Findbugs:http://findbugs.cs.umd.edu/eclipse
三、相關(guān)文件
eclipse-jee-mars-1-win32-x86_64.zip eclipse-jee-mars-1-win32.zip
本文鏈接: http://cleverim.com/news/detail/5d5fc3a208813b0001c35370