项目环境配置手册(java)

项目环境配置手册(java)

ID:17201578

大小:391.50 KB

页数:13页

时间:2018-08-28

上传者:U-5097
项目环境配置手册(java)_第1页
项目环境配置手册(java)_第2页
项目环境配置手册(java)_第3页
项目环境配置手册(java)_第4页
项目环境配置手册(java)_第5页
资源描述:

《项目环境配置手册(java)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

安装手册Java项目安装手册福建宏创信息科技有限公司otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册目录1文档概述31.1文档结构说明32安装环境要求32.1软件环境要求33安装部署过程33.1JDK1.5的安装及配置33.2Tomcat5.5的安装及配置84应用部署115应用启动与停止13otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册1文档概述1.1文档结构说明  本手册的目的在于指导用户正确安装,分三部分进行说明。  1)安装环境要求:阐述本系统的安装条件及其运行环境。  2)安装部署过程:介绍本系统的安装步骤。  3)应用起动与停止:介绍软件的安装、配置的方法及步骤。2安装环境要求2.1软件环境要求需要安装JDK1.5、TOMCAT5.53安装部署过程3.1JDK1.5的安装及配置(1).JDK1.5安装。首先下载JDK的最新版本。可以去http://java.sun.com/javase/downloads/index.jsp下载最新版本JDK1.5。一切下载后选择安装路径,例如,选择安装在"C:ProgramFilesJavajdk1.5.0_04"路径下,安装到计算机的整个过程可能会花费数分钟时间,这与系统性能有关。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).安装好后进行配置。右击“我的电脑”,打开“属性”,选择“高级”里面的“环境变量”。在新打开的界面中系统变量需要设置三个属性。在没安装过JDK的电脑中path属性是本来存在的。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).点击“新建”,然后变量名写上"java_home",顾名思义就是java的安装路径,然后在变量值写上刚才的安装路径"C:ProgramFilesJavajdk1.5.0_04"。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).在系统变量里找到path,点击编辑。path的含义就是系统在任何路径下都可以识别java命令。添加变量值";%java_home%bin;%java_home%jrebin"。(其中"%java_home%"的意思是刚才设置的java_home的值)。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).点击“新建”,然后变量名写上"classpath",该变量的含义为java加载类(binorlib)的路径,只有类在classpath中,java命令才能识别。其值为".;%java_home%lib;%java_home%libtools.jar"(要加圆点.表示当前路径)。(2).验证JDK1.5安装是否成功。点击“开始”->“运行”,输入"cmd",进入命令行界面,打入"java-version",如果安装成功,则系统显示javaversion"1.5.0_04"....(不同版本号则不同)。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册1.1Tomcat5.5的安装及配置(1).在安装完JDK1.5后,接下来安装Tomcat5.5。安装文件可以到Tomcat网站上下载。注意下载版本为:WindowsServiceInstaller。下载后直接运行apache-tomcat-5.5.26.exe。(2).一直单击【Next】按钮,在端口修改窗口,为了避免与其他的软件的8080端口冲突,需要对Tomcat端口进行修改,本机中将端口修改为9090。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).安装时,它会自动找到你的JDK安装路径,安装结束后点击【Finish】按钮。(2).运行Tomcat,打开“开始”—“运行”,输入cmd并回车,进入Tomcat的bin目录,启动命令为startup,关闭命令为shutdown。启动后,打开浏览器,在地址栏输入http://localhost:9090,测试Tomcat是否安装正常,如果正常运行,会显示下图。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(5).将TOMCAT服务设置成自动运行,找开“开始菜单”-“控制面板”-“管理工具”-“服务”找到ApacheTomcat右击选择“属性”将启动类型改成自动otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册1应用部署(1).将jttwap.war文件拷贝至Tomcat5.5安装目录下的webapps文件夹下,例如本例中的位置为:C:ProgramFilesApacheSoftwareFoundationTomcat5.526webapps。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册(1).然后启动Tomcat服务,系统自动在webapps文件夹下生成一个jttwap文件夹。otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页 安装手册1应用启动与停止运行Tomcat,打开“开始”—“运行”,输入cmd并回车,进入Tomcat的bin目录,启动命令为startup,关闭命令为shutdown。也可以打开“开始”-“所有程序”-“ApacheTomcat5.5”-“ConfigureTomcat”启动与停止otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand第13页共13页

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
关闭