winXP下Eclipse與外掛程式(tomcatPlugin Lomboz easyStruts)安裝

來源:互聯網
上載者:User



我愛北京天安門


天安門上太陽升


偉大領袖毛主席


指引我們向前進


<font size="2">一、安裝準備 <br /><br />在進行安裝以前,你應該準備以下軟體: <br /><br />&nbsp;軟體:J2se <br />&nbsp;版本:1.4.2_04 <br />&nbsp;官方下載:http://java.sun.com/j2se/1.4.2/download.html <br />&nbsp;備忘: <br />&nbsp; <br />&nbsp;軟體:Tomcat <br />&nbsp;版本:5.0.19 <br />&nbsp;官方下載:http://www.apache.org/dist/jakarta/
<br />&nbsp;備忘: <br />&nbsp; <br />&nbsp;軟體:Struts <br />&nbsp;版本:1.1 <br />&nbsp;官方下載:http://www.apache.org/dist/jakarta/struts/ <br />&nbsp;備忘: <br />&nbsp; <br />&nbsp;軟體:Eclipse <br />&nbsp;版本:2.1.3 <br />&nbsp;官方下載:http://www.eclipse.org/downloads/index.php
<br />&nbsp;備忘:目前eclipse最新版為eclipse3.0R1 <br /><br />&nbsp;軟體:EclipseLanguagePack <br />&nbsp;版本:2.1.2.1 <br />&nbsp;官方下載:http://www.eclipse.org/downloads/index.php <br />&nbsp;備忘:該版本只能漢化eclipse2.1.3及以下版本 <br /><br />&nbsp;軟體:TomcatPlugin <br />&nbsp;版本:2.2.1
<br />&nbsp;官方下載:http://www.sysdeo.com/eclipse/tomcatPlugin.html <br />&nbsp;備忘:該版本只能漢化eclipse2.1.3及以下版本 <br />&nbsp; <br />&nbsp;軟體:Lomboz <br />&nbsp;版本:2.1.3 <br />&nbsp;官方下載:http://www.objectlearn.com/index.jsp <br />&nbsp;備忘:該版本只能漢化eclipse2.1.3及以下版本 <br
/><br />&nbsp;軟體:EasyStruts <br />&nbsp;版本:0.6.4 <br />&nbsp;官方下載:http://sourceforge.net/projects/easystruts <br />&nbsp;備忘:該版本只能漢化eclipse2.1.3及以下版本 <br />&nbsp; <br /><br />以上軟體版本為安裝成功的版本,為了使您的安裝不至於出錯請遵照以上版本准本軟體。 <br /><br />hodesoft公司內部員工可以訪問//192.168.0.23擷取
<br /><br />如果要找其他eclipse外掛程式可以去下面這個網站 <br />http://www.eclipse-plugins.info <br />&nbsp; <br /><br />二、JDK安裝 <br /><br />1.安裝J2SE-SDK到E:/j2sdk1.4.2 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;部分目錄結構如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
E:/j2sdk1.4.2/bin <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/j2sdk1.4.2/lib <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/j2sdk1.4.2/jre <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;... <br /><br />2.配置環境變數如下: <br /><br />JAVA_HOME = E:/j2sdk1.4.2 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PATH = %JAVA_HOME%/bin;.;%JAVA_HOME%/lib;%JAVA_HOME%/jre/lib; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
CLASSPATH = .;%JAVA_HOME%/lib;%JAVA_HOME%/jre/lib; <br /><br />&nbsp; <br /><br />三、Tomcat安裝 <br /><br />1.解壓jakarta-tomcat-5.0.19.zip到E:/tomcat <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;部分目錄結構如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/tomcat/bin
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/tomcat/conf <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/tomcat/webapps <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;... <br /><br
/>2.配置環境變數如下: <br /><br />TOMCAT_HOME = E:/tomcat <br /><br />&nbsp; <br /><br />四、Struts安裝 <br /><br />1.解壓jakarta-struts-1.1.zip到E:/jakarta-struts-1.1 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;部分目錄結構如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; E:/jakarta-struts-1.1/lib <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/jakarta-struts-1.1/webapps <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;... <br /><br />五、Eclipse安裝 <br /><br />1.解壓eclipse-SDK-2.1.3-win32.zip到E:/eclipse213
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;部分目錄結構如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/eclipse213/features <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/eclipse213/plugins <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;... <br /><br />2.啟動Eclipse,看看安裝是否成功 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;如果啟動不成功,請查看JRE是否安裝 <br /><br />3.啟動Eclipse,點擊菜單 windows-&gt;preferences 在左邊樹中點擊展開java,選擇Installed JREs, <br /><br />如果Installed JREs如下則正確:
<br /><br />&nbsp;JRE Type:Standard VM <br />&nbsp;Name:j2sdk1.4.2 <br />&nbsp;Location:E:/j2sdk1.4.2 <br /><br /><br />六、Eclipse漢化 <br /><br />1.解壓eclipse2.1.2.1-SDK-win32-LanguagePackFeature.zip到E:/eclipse213下 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;將目錄名eclipse2.1.2.1-SDK-win32-LanguagePackFeature改為eclipse2.1.2.1Language
<br /><br />部分目錄結構如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/eclipse213/eclipse2.1.2.1Language/eclipse/features <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E:/eclipse213/eclipse2.1.2.1Language/eclipse/plugins <br /><br
/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;... <br /><br />2.在E:/eclipse213下建立檔案夾links,使得檔案夾links和檔案夾eclipse2.1.2.1Language同級 <br /><br />3.在E:/eclipse213/links下建立檔案,檔案名稱任取,這裡我們命名為language.link,開啟此檔案, <br /><br />加入 path =
E://eclipse213//eclipse2.1.2.1Language <br /><br />4.啟動Eclipse,看看漢化是否成功,如不成功請檢查language.link檔案中配置資訊path = <br /><br />E://eclipse213//eclipse2.1.2.1Language和漢化檔案夾eclipse2.1.2.1Language的安裝路徑是否一 <br /><br />致 <br /><br />&nbsp; <br /><br />七、TomcatPlugin安裝 <br
/><br />1.解壓tomcatPluginV221.zip <br /><br />2.將解壓目錄tomcatPluginV221下檔案夾com.sysdeo.eclipse.tomcat_2.2.1複製到eclipse安裝目 <br /><br />錄中的plugins目錄中,即E:/eclipse213/plugins <br /><br />3.啟動Eclipse <br /><br />4.啟動後你將看到你的菜單上多了一個下拉項Tomcat,快捷欄裡多了三個Tomcat的貓圖表,如 <br /><br
/>果沒有看到,請點擊 視窗-&gt;定製透視圖,展開樹結構中的“其它”,選擇“Tomcat” <br /><br />5.點擊 視窗-&gt;喜好設定 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;在左邊樹中點擊tomcat,設定tomcat version為version 5.x <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定tomcat version為version 5.x <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定tomcat-home為E:/tomcat
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定perspective to switch when tomcat is started為java <br /><br />在左邊樹中點擊tomcat-&gt;JVM setting,設定JRE為j2sdk1.4.2
<br /><br />點擊應用確定 <br /><br />6.點擊快捷按鈕“Start Tomcat”來啟動Tomcat吧 <br /><br />&nbsp; <br /><br />八、Lomboz安裝 <br /><br />1.解壓lomboz.213.zip <br /><br />2.將解壓目錄lomboz.213/plugins下檔案夾com.objectlearn.jdt.j2ee和com.objectlearn.jdt.j2ee.editors <br /><br />複製到eclipse安裝目錄中的plugins目錄中,即E:/eclipse213/plugins
<br /><br />3.啟動Eclipse <br /><br />4.點擊 視窗-&gt;喜好設定 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;在左邊樹中點擊lomboz,設定JDK tools.jar位置為E:/ j2sdk1.4.2/lib/tools.jar <br /><br />在左邊樹中點擊lomboz-&gt;server definitions,設定Server Type為Apache Tomcat v5.0.x <br /><br />&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定Application Server Directory為E:/tomcat <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定classpath Variable
Name為TOMCAT_HOME <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 設定classpath Variable為E:/tomcat <br /><br />點擊應用確定 <br /><br />&nbsp; <br /><br />九、easyStruts安裝 <br /><br />1.解壓org.easystruts.eclipse_0.6.4.zip
<br /><br />2.將解壓目錄org.easystruts.eclipse_0.6.4下檔案夾com.cross.easystruts.eclipse_0.6.4複製到eclipse <br /><br />安裝目錄中的plugins目錄中,即E:/eclipse213/plugins <br /><br />3.啟動Eclipse <br /><br />4.點擊 視窗-&gt;喜好設定 <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;在左邊樹中點擊Easy Struts,選擇struts1.1
<br /><br />ADD JREs如下: <br /><br />struts.jar-E:/jakarta-struts-1.1/lib/struts.jar <br /><br />ADD TLDs如下: <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-tiles.tld-E:/jakarta-struts-1.1/lib/struts-tiles.tld
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-template.tld-E:/jakarta-struts-1.1/lib/struts-template.tld <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-nested.tld-E:/jakarta-struts-1.1/lib/struts-nested.tld
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-logic.tld-E:/jakarta-struts-1.1/lib/struts-logic.tld <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-html.tld-E:/jakarta-struts-1.1/lib/struts-html.tld
<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struts-bean.tld-E:/jakarta-struts-1.1/lib/struts-bean.tld <br /><br />點擊應用確定 </font>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.