Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Java environment variables in Windows7 system

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "how to configure Java environment variables in Windows7 system". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Methods and steps

1. Download and install Java SE Development Kit (JDK development tools)

2. After the installation is complete, click computer-Properties and select Advanced system Settings.

3. Select environmental variables

4. Set it in the system variable:

Create a new system variable:

Variable name: [JAVA_HOME]

Variable value: [C:\ Program Files\ Java\ jdk1.7.0_51]

Special note: my jdk is installed in this location C:\ Program Files\ Java\ jdk1.7.0_51, so fill in this. Fill in your own jdk wherever you install it!

5. Find Path and select edit in the system variable:

Add [\;% JAVA_HOME%\ bin;] in *

Special note: add in *, do not delete the default! If deleted, some of your programs will not run!

6. Verify whether the environment variable is configured successfully

Find [run] in [attachment], and enter [cmd]

7. Enter java, and if the following interface appears, you have already configured it! Your computer can run the java program.

This is the end of the content of "how to configure Java environment variables in Windows7 system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report