CSDN博客

img arielxp

winXP下Eclipse与插件(tomcatPlugin Lomboz easyStruts)安装

发表于2004/7/14 20:13:00  9080人阅读

大笑微笑生气吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头生气微笑大笑


偷笑我爱北京天安门偷笑


偷笑天安门上太阳升偷笑


偷笑伟大领袖毛主席偷笑


偷笑指引我们向前进偷笑

偷笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑偷笑

<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>
0 0

相关博文

我的热门文章

img
取 消
img