search
HomeComputer TutorialsTroubleshootingHow to set JDK environment variables on Windows 11

After downloading and installing the jdk environment on the win11 computer system, you must configure the environment variables, otherwise it cannot run. So how does Win11 configure the JDK environment variables? For this reason, the editor will give you a detailed introduction to the detailed tutorial on configuring jdk environment variables in Win10. If you are interested, come and take a look with the editor.

1. Shortcut key "win i" to enter the setting interface, click "System Information" in the "System" option on the left, and find the "Advanced System Settings" option on the right side of "Related Links".

How to set JDK environment variables on Windows 11

2. In the new window, go to the "Advanced" tab at the top and click "Environment Variables" in the lower right corner.

How to set JDK environment variables on Windows 11

3. Then click the "New" button under "System Variables".

How to set JDK environment variables on Windows 11

4. In the given window, fill in the variable name as "JAVA_HOME", and the variable value is the installation path of the jdk directory.

How to set JDK environment variables on Windows 11

5. Then select "Path" under "System Variables" and click "Edit".

How to set JDK environment variables on Windows 11

6. After entering the new window, click the "New" button on the right, fill in "%JAVA_HOME%bin", and click OK.

How to set JDK environment variables on Windows 11

7. Finally, press the shortcut key "win R", enter "cmd" and press Enter to enter the command prompt window, enter "java", press Enter to execute and you will see Related information. Enter "java -version" to view the version number.

How to set JDK environment variables on Windows 11

How to set JDK environment variables on Windows 11

The above is the detailed content of How to set JDK environment variables on Windows 11. 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
How to fix NVIDIA DSR is broken after Windows 11 24H2 update?How to fix NVIDIA DSR is broken after Windows 11 24H2 update?Apr 17, 2025 pm 10:00 PM

NVIDIAs Dynamic Super Resolution (DSR) is a sophisticated feature that runs games at higher resolutions and then scales them down to your monitors native resolu

Steps to Remove Trojan:Win32/Etset!rfn, Watch the Pro GuideSteps to Remove Trojan:Win32/Etset!rfn, Watch the Pro GuideApr 17, 2025 pm 08:10 PM

This guide explains how to remove the Trojan:Win32/Etset!rfn virus and protect your computer from future threats. Windows Security's warning about Trojan:Win32/Etset!rfn indicates a Trojan horse infection. This malware often disguises itself as legi

Solve RESULT_CODE_MISSING_DATA Error in Chrome or EdgeSolve RESULT_CODE_MISSING_DATA Error in Chrome or EdgeApr 17, 2025 pm 08:05 PM

This MiniTool guide explains how to resolve the RESULT_CODE_MISSING_DATA error in Chrome or Edge browsers. This error prevents websites from loading due to missing or inaccessible data. The likely causes are corrupted browser data, outdated browser

Gdrv2.sys Driver Cannot Load on This Device? Here're Some FixesGdrv2.sys Driver Cannot Load on This Device? Here're Some FixesApr 17, 2025 pm 08:03 PM

Troubleshooting the "Gdrv2.sys Driver Cannot Load" Error Are you seeing the error message "Gdrv2.sys driver cannot load on this device"? This guide provides solutions to resolve this issue, often linked to GIGABYTE hardware and so

How to Fix RuneScape: Dragonwilds Crashing on Windows 11/10?How to Fix RuneScape: Dragonwilds Crashing on Windows 11/10?Apr 17, 2025 pm 08:02 PM

RuneScape: Dragonwilds Crash Issues Resolving Guide Since the release of RuneScape: Dragonwilds, players have encountered various problems, one of which is the game crashing on PC. The game may crash when it starts, or it may crash after running for a few minutes. This article provides a variety of solutions. Quick navigation: Method 1: Verify game files Method 2: Change the startup options Method 3: Update the graphics card driver Method 4: Close tasks that occupy more resources Method 5: Reinstall RuneScape: Dragonwilds Summarize RuneScape: Dragonwilds is a cooperative survival game. If Rune

Find Easy Fixes for Parts of PC Screen Not Refreshing WindowsFind Easy Fixes for Parts of PC Screen Not Refreshing WindowsApr 17, 2025 pm 08:01 PM

Troubleshooting Computer Screen Refresh Issues: A Step-by-Step Guide Computer users occasionally encounter display problems, such as screen areas failing to refresh or freezing. This guide provides solutions to resolve this issue. Addressing Partial

How to disable Efficiency Mode in Windows?How to disable Efficiency Mode in Windows?Apr 17, 2025 pm 08:00 PM

Windows Efficiency Mode is a feature that has been incorporated to better handle system resources. It is meant to lower the CPU priority and power consumption o

Spotlight on How to Solve Steel Hunters Crashing Issue on PCSpotlight on How to Solve Steel Hunters Crashing Issue on PCApr 17, 2025 pm 06:01 PM

Encountering Steel Hunters crashes on your PC? This MiniTool guide offers effective solutions to get you back in the mech battle. We'll cover fixes for both crashing and launch failures. Steel Hunters Crashing: A Common Problem Steel Hunters, the ex

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)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

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.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor