欢迎来到天天文库
浏览记录
ID:41393787
大小:65.14 KB
页数:10页
时间:2019-08-24
《java开发以及tomcat环境变量配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、java开发以及tomcat环境变量配置*************************documentdirectorystructuresixxjsXJS#
2、S^TS#
3、SXJSXJSXTXXTX^TX1.***************twoconfigurationenvironmentvariables2.***************environmentvariableconfigurationpreparationworkbeforeThisdocumentuses3.*********
4、******configurationinstallationdirectorydescription***************4.developmentenvironmentconfigurationvariables(includingtheTOMCATenvironmentvariable)***************5.testJavaenvironmentvariable***************6.testTomcatenvironmentvariablesixsixsixsixs
5、ixsixsixsixxjsXJSXTXXTXXTXXTXXTXXTX^TXXTXXjXXTXXTXXTXXTXXTXXTXXTXZJX✓JX*1.environmentalvariablesaredividedintotwoconfigurationsUservariablessettingsaffectonlythecurrentuserandhavenoimpactonotherusers(ifotherusersneedtore-match)・Systemvariablesetting:affe
6、ctsallusersofthesystem(recommendedconfigurationunderthattype)・1.preparationofenvironmentalvariablesbeforedeploymentYouneedtoinstallJDK,JRE,andunziptheTomcatapplicationservicepackagetotheappropriatefolderbeforeyoucanconfiguretheenvironmentvariables2.thisd
7、ocumentusestheconfigurationinstallationdirectorydescriptionJDKisinstalledin:C:ProgramFilesJavadirectory,foldernameisjdk1.6.0_22JREisinstalledin:C:ProgramFilesJavadirectory,foldernameisjre6Tomcatunzipin:D:WebServerdirectory,foldernameapache-tomcat-7・
8、0.213.configurethedevelopmentenvironmentvariables(includingtheTOMCATenvironmentvariables)Note:thevariablenameshouldbealluppercase,ifyouwanttobuildvariablealreadyexists,behindintheexistingvariablevaluedirectlywithappropriatevariablevalues,variablevaluessh
9、ouldbethesameastheactualcontentofthesysteminstallationdirectory,ifthenewvariabledoesnotexistStepl:new:Variablename:JAVAHOMEVariablevalue:C:ProgramFilesJavajdkl.6.0_22Note:thereisnosemicolonintheback.SpecifytheJDKinstallationdirectoryStep2:new:Variable
10、name:JRE_HOMEVariablevalue:%JAVA_HOME%jreNote:thereisnosemicolonafterthevariablevalue・Today,thegeneralJREhasbeenintegratedintotheJDK.IfyouneedtouseaseparateJRE,thevariablevalueisspecifiedtotheJREinstallationdirectory(fore
此文档下载收益归作者所有