Home Computer Tutorials Troubleshooting How to set JDK environment variables on Windows 11

How to set JDK environment variables on Windows 11

Jan 09, 2024 pm 10:17 PM

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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

R.E.P.O. Save File Location: Where Is It & How to Protect It? R.E.P.O. Save File Location: Where Is It & How to Protect It? Mar 06, 2025 pm 10:41 PM

Are you hooked on R.E.P.O.? Curious where your game progress is stored? This guide reveals the location of your R.E.P.O. save files and shows you how to protect them. Losing your game progress is frustrating, so let's ensure your hard work is safe

How to fix Microsoft Teams error 9hehw in Windows? How to fix Microsoft Teams error 9hehw in Windows? Mar 07, 2025 am 12:00 AM

Understanding Microsoft Teams error tag 9hehw on Windows Microsoft Teams is a crucial communication and collaboration application by which users are able to joi

How to fix KB5053602 fails to install in Windows 11? How to fix KB5053602 fails to install in Windows 11? Mar 13, 2025 am 10:00 AM

The KB5053602 patch, released on March 11, 2025, targets Windows 11 editions 22H2 and 23H2, elevating the OS to OS Builds 22621.5039 and 22631.5039, respectivel

How to fix Windows update error 0x800f0838? How to fix Windows update error 0x800f0838? Mar 11, 2025 am 12:00 AM

Windows updates are essential components delivered by Microsoft to enhance the functionality, security, and stability of the Windows operating system. These upd

R.E.P.O. Crashing & Freezing on PC? Result-Driven Fixes R.E.P.O. Crashing & Freezing on PC? Result-Driven Fixes Mar 07, 2025 pm 08:02 PM

Troubleshooting R.E.P.O. Game Crashes: A Comprehensive Guide Experiencing frustrating game crashes, especially in a team-based game like R.E.P.O., can be incredibly disruptive. This guide offers several solutions to resolve R.E.P.O. crashes, freezes

Spotlight on KB5053606 Not Installing for Windows 10, Exact Steps Spotlight on KB5053606 Not Installing for Windows 10, Exact Steps Mar 13, 2025 pm 08:02 PM

Windows 10 KB5053606 Update installation failed? This guide provides effective solutions! Many users are having problems trying to install the Windows 10 KB5053606 update released on Tuesday of Microsoft's March 2025 patch, such as SSH connection interruption, Dwm.exe unresponsiveness, or input method editor (IME) issues. Updates may be stuck during downloading or installation, or error codes may appear, such as 0x800f0922, 0xd000034, 0x80070437 and 0x80072efe. KB5053606 installation failure is usually caused by a variety of reasons, including Windows update component failure, system file corruption, and disk

Grand Theft Auto V Enhanced Save File Location, A Roadmap Here Grand Theft Auto V Enhanced Save File Location, A Roadmap Here Mar 06, 2025 pm 10:34 PM

This MiniTool guide shows you how to locate and back up your Grand Theft Auto V Enhanced save files on your Windows PC. Rockstar Games' enhanced edition boasts impressive visuals (ray-traced shadows, AMD FSR1 & 3, NVIDIA DLSS 3), improved audio,

GTA V Enhanced ERR_GFX_D3D_NOD3D12, Quick Fix in 4 Ways GTA V Enhanced ERR_GFX_D3D_NOD3D12, Quick Fix in 4 Ways Mar 14, 2025 pm 08:04 PM

GTA 5 Enhanced ERR_GFX_D3D_NOD3D12 Error Fix Guide Grand Theft Auto V Enhanced (GTA 5 Enhanced) is an upgraded game, but some players encounter the "ERR_GFX_D3D_NOD3D12: DirectX 12 adapter or runner found" error when starting. This article provides several solutions. Cause of the Error: This error usually indicates that your system is missing a DirectX 12 runtime library or a compatible DirectX 12 graphics card. Solution: Method 1: Install DirectX Runtime Library Inspection

See all articles