


Confusion about configuring JDK environment variables in Win10 For programmers, configuring JDK environment variables is a common operation. However, for newbies, this can be daunting. PHP editor Youzi learned that many users encountered difficulties in configuring JDK environment variables when using the Win10 system. After reading this article, you will understand the exact steps to configure JDK environment variables in Win10, thus easily solving your doubts.
Introduction to the method of configuring JDK environment variables in Win10
1. Step one: First, open the system environment variable configuration page. The specific operation is: open the start menu, find "This PC", then right-click "More" → "Properties". (As shown in the picture below:)
2. Step 2: On the pop-up page, select "Advanced System Settings". (As shown in the picture below:)
3. Step 3: On the pop-up page, select "Environment Variables (N)...". (As shown in the picture below:)
4. Step 4: In the system variable area of the pop-up page, select "New". (As shown in the picture below:)
5. Step 5: On the new page, enter the variable name "JAVA_HOME"; the variable value "the path of your jdk (please refer to Figure below, find your installation path)" and click "OK". (As shown in the picture below:)
6. Step 6: In the system variable area, select "New" and enter the variable name "CLASSPATH"; variable value: ". ;%JAVA_HOME%libdt.jar;%JAVA_HOME%libtools.jar;". Please note the "dot" and "semicolon" in front of the variable value. You can directly copy the variable value and click "OK". (As shown in the picture below:)
7. Step 7: Use the scroll wheel to find the "Path" variable in the system variables area and double-click to open it. Click New and add the following two lines of code (the two lines of code in the red selection box). (As shown in the picture below:)
8. Step 8: Use Windows icon + R to quickly open the "Run" interface, enter cmd, and press Enter to confirm. (As shown in the picture below:)
9. Step 9: Enter java –version on the command line; if the java version information can be displayed, the configuration is successful. (As shown in the picture below:)
The above is the detailed content of How to configure JDK environment variables in Win10_Introduction to the method of configuring JDK environment variables in Win10. For more information, please follow other related articles on the PHP Chinese website!

Related When Will Microsoft Stop Supporting Windows 10? According to Microsoft's lifecycle

Related Samsung 9100 PRO NVMe SSD Review: Blazing a New Speed Trail So much speed, but I ha

Some people don't like liquid cooling on their PCs. It's hard to install, and in a lot of cases, it can be tricky to fit one inside of your PC. Cooler Master makes some great air coolers, and this new one looks pretty good. Cooler Master has just

Logitech G515 Lightspeed TKL Gaming Keyboard

Building a new PC was once a moment of triumph. Now, it’s just the beginning, as you have to install apps, download large games, and tweak dozens of settings before it's fully set up. Let's take a look at how we got here and how things used to be.

Logitech's MX Master series of mice has become a common sight in YouTube videos or photographs of tech-savvy people's desk setups, but what makes this now-iconic mouse so special? I'm on my third MX Master mouse at this point, and, honestly, I can

Mechanical keyboards offer a plethora of features, from switch type and keycap material to sound dampening. But one often overlooked, yet invaluable feature, is the built-in screen. Why Integrate Screens into Keyboards? The QWERTY keyboard, a staple

Tech News Roundup: Major Updates and New Releases Across the Tech Landscape This week brings a flurry of exciting tech news, from AI advancements to new gaming peripherals and significant software updates. Let's dive into the highlights: AI and Secu


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

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.

SublimeText3 Chinese version
Chinese version, very easy to use

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
