简体   繁体   English

Windows中环境变量的歧义

[英]ambiguity with environmental variables in windows

i am relatively new to java. 我对Java比较陌生。 when i installed jdk and jre on my laptop it asked me to set a system variable with the name path and a value of its home directory . 当我在笔记本电脑上安装jdk和jre时,它要求我设置一个系统变量,其名称路径为其主目录的值 next i installed tomcat server and that too asked me to set CATALINA_HOME,JAVA_HOME and path as its home directory .now after mysql installation it also said a variable of path with its home directory value .will it not effect the old s/w if i change path variable to new software variable address?? 接下来,我安装了tomcat服务器,也要求我将CATALINA_HOME,JAVA_HOME和path设置为其主目录。现在在安装mysql之后,它还说了一个带有其主目录值path变量。如果我将它不影响旧的软件将路径变量更改为新的软件变量地址? or should i create new paths for each software?? 还是应该为每个软件创建新路径?

CATALINA_HOME and JAVA_HOME are separate variables and should be set separately. CATALINA_HOMEJAVA_HOME是单独的变量,应单独设置。

As for the PATH , this is one variable and should contain all necessary values separated by the ; 至于PATH ,这是一个变量,应该包含所有必需的值,用“ ; character. 字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM