English 中文(简体)
系统变量和用户变量如何运作
原标题:how does system variables and user variables work

i 在用户可读性中配置了 Maven 家, 并使用命令 mvn -- version 测试了它, 系统推进我为“ mvn 不是命令 ” 。 但如果我配置它为系统变量, 它的工作效果。 我确实配置了我的笔记本电脑中的系统变量 。 但是在我的办公室里, I dnt 有变化系统变量的预断 。

我的问题在这里。

(a) 为什么系统在根据系统变数而不是用户变数配置时就认识到系统是何时配置的

(b) 是否有其他办法来配置它,在我的办公室膝上型电脑上顺利工作。

最佳回答

我在工作上所做的(我也有同样的问题) 是一个用户变量, 叫做“PATH ” ( PATH), 写到二进制。然后它似乎在这里起作用。

  1. Right click my computer
  2. Click on properties
  3. On the left you will find advanced system settings (windows 7). Click on it
  4. Then go to the tab Advanced and click on Environment Variables
  5. Now create a new user variable with the name PATH and the value, is the path to your maven installation. (eg: C:mavenin)
问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签