search
HomeTechnology peripheralsIt IndustryHow to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

win7 is Microsoft's most classic computer operating system. Although it has been updated to win11, many users still insist on using win7. Some friends want to know where to set the win7 environment variables. Let me teach you below.

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

Where to set win7 environment variables

1. First, find and right-click the mouse on the desktop and select [Computer] [Properties] one item to operate.

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

#2. Then in the [Properties] interface that appears, you need to click the [Advanced System Settings] option.

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

After this, a new page will pop up, the so-called [System Properties] interface. Find the [Environment Variables] button on this interface and click it to proceed to the next step

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

4. A button named [New] will appear. , in this interface, there are two variable types to choose from - [User] [System] variables. Just choose the appropriate variable type according to your personal needs.

PS: To facilitate subsequent adjustments and deletions, please choose to use user variables, even on your own computer

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

Step 5 , open the pop-up [New] window, enter [JAVA_HOME], and fill in the specific path [E:\ProgramFiles(x86)\Java\jdk1.8.0_60] (this is just an example path, please fill in your Java according to the actual situation Installation directory)

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

#6. Then create a new variable named [classpath] again. Its format and case do not matter. The specific path is [.;%JAVA_HOME%lib;%JAVA_HOME%libtools.jar;%JAVA_HOME%jrelibrt.jar;%JAVA_HOME%libdt.jar;] (please make sure there is a dot here, this step is very important) .

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

Next, if there is a variable name named path, please add the corresponding path after it. If it does not exist, you need to create a new variable named path and add the following path [%;JAVA_HOME%bin;%JAVA_HOME%jrebin;]

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

8. Finally, Please open the command prompt window (DOS interface), enter the command [java -version] and press the Enter key. If the version number can be displayed successfully, congratulations, this configuration has been successfully completed!

How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings

This is the specific method of setting win7 environment variables. Users in need only need to follow the above process. Carry out each step carefully to help you Easily complete environment setup.

The above is the detailed content of How to set environment variables in Win7 system? Detailed explanation of Win7 environment variable settings. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:酷知号. If there is any infringement, please contact admin@php.cn delete
CNCF Arm64 Pilot: Impact and InsightsCNCF Arm64 Pilot: Impact and InsightsApr 15, 2025 am 08:27 AM

This pilot program, a collaboration between the CNCF (Cloud Native Computing Foundation), Ampere Computing, Equinix Metal, and Actuated, streamlines arm64 CI/CD for CNCF GitHub projects. The initiative addresses security concerns and performance lim

Building a Network Vulnerability Scanner with GoBuilding a Network Vulnerability Scanner with GoApr 01, 2025 am 08:27 AM

This Go-based network vulnerability scanner efficiently identifies potential security weaknesses. It leverages Go's concurrency features for speed and includes service detection and vulnerability matching. Let's explore its capabilities and ethical

Top 10 Best Free Backlink Checker Tools in 2025Top 10 Best Free Backlink Checker Tools in 2025Mar 21, 2025 am 08:28 AM

Website construction is just the first step: the importance of SEO and backlinks Building a website is just the first step to converting it into a valuable marketing asset. You need to do SEO optimization to improve the visibility of your website in search engines and attract potential customers. Backlinks are the key to improving your website rankings, and it shows Google and other search engines the authority and credibility of your website. Not all backlinks are beneficial: Identify and avoid harmful links Not all backlinks are beneficial. Harmful links can harm your ranking. Excellent free backlink checking tool monitors the source of links to your website and reminds you of harmful links. In addition, you can also analyze your competitors’ link strategies and learn from them. Free backlink checking tool: Your SEO intelligence officer

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.