


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!

Framework Desktop: The Good, the Bad, and the Unexpected The Framework Desktop, a compact PC emphasizing upgradability, largely delivers on its promise. iFixit's teardown reveals a design prioritizing standard components, making future upgrades sign

PowerToys: Supercharge Your Windows Work-From-Home Experience Working from home presents unique productivity challenges. Distractions abound, demanding a focused workspace. PowerToys helps optimize your home office, whether it's a dedicated space or

Retrieve lost Windows 10 product key: Two ways Have you lost your product key after installing genuine Windows 10? Don't worry, this article will introduce two ways to retrieve your keys so that you can reinstall the system in the future. Case 1: Windows 10 is installed but the key is lost Even if you get Windows 10 through a free upgrade or genuine installation, you can easily find the product key using the iSumsoft Product Key Finder as long as your computer works properly. Method 1: Use iSumsoft Product Key Finder Download and install: Download and install iSumsoft Product Key Finder to your computer. Find the product key: Start

In the second half of 2023, Microsoft released the Windows 11 23H2 system. Many users can't wait to upgrade their computer to the latest version, but some users encountered the error message "This computer does not meet the minimum requirements..." when trying to install Windows 11 23H2 on an unsupported computer. don’t worry! This article will provide a step-by-step guide to how to install Windows 11 23H2 on an unsupported computer. Let's get started! Note: Microsoft said, "Installing Windows 11 on unsupported computers is not recommended. If you choose to install Windows 11 on hardware that does not qualify, you should risk compatibility issues." allow

The 2024 ASUS Zenbook S 14: A Top-Tier MacBook Air Competitor The ASUS Zenbook S 14 (2024) emerges as a leading Windows alternative to Apple's MacBook Air, boasting significant upgrades. This refined ultraportable retains its lightweight design and

Enhance your Windows 10 PowerShell experience with these simple customization steps! This guide shows you how to adjust PowerShell fonts and enable automatic text wrapping for improved readability and optimal window fitting. Let's get started: Step 1

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

Recommended Best Ergonomic Keyboards in 2025 Ergonomic keyboards function the same as regular keyboards, but add support to reduce stress on wrists, hands and fingers. These keyboards are designed to keep your hands and wrists in a more natural position, helping to minimize muscle strain and prevent potential damage from prolonged typing. There are a wide variety of ergonomic keyboards available on the market, so be sure to consider which features are most important to you before purchasing. From layout to design, each type offers unique benefits based on your preferences and needs. Most ergonomic keyboards fall into two categories. The first category is the split keyboard, which, as the name suggests, divides the key layout into two parts for a more natural wrist posture. There are two types of split keyboards:


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

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
