Home  >  Article  >  Backend Development  >  Do python and java environment variables conflict?

Do python and java environment variables conflict?

anonymity
anonymityOriginal
2019-06-13 14:07:406760browse

Does python and java environment variables conflict?

Do python and java environment variables conflict?

The answer is yes, yes, the use of the two software will not be affected, more It will not be affected by the setting of environment variables.

Environment variables (environment variables) generally refer to some parameters used in the operating system to specify the operating environment of the operating system, such as: temporary folder location and system folder location, etc.

1. Open the computer's advanced system management and find the environment variable settings:

2. Set the java environment variables

3. Set the Python environment variables

The system should have an environment variable called Path by default (the above is the user environment variable, and the set variables will only affect the current user; the following is the system environment variable, and other users can also use these variables when entering the system) , this setting is because Windows can be used by multiple users, the server version can have multiple users online at the same time, and the desktop version can only have one user online at the same time), including the directories of some java executable files you set.

4. Any files set here can be executed directly by the DOS system. For example:

I added a maven environment variable to the Path: C:\Program Files (x86)\apache-maven-3.0.5\bin;

5. Execute mvn -version to see the maven environment information

6. Here are two The running result:

python -V corresponds to the environment information of Python

java -version corresponds to the environment information of Java

The above is the detailed content of Do python and java environment variables conflict?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn