Windows 11 configure JDK environment variables

Preface

If you find it useful, please remember to giveBloggers can give likes, comments, and favorites with just one click., writing is not easy^_^.
And I heardPeople who like it will not have bad luck every day, if it’s really free, you’re welcome to come often!!!


Windows 11 configure JDK environment variables

Overview

I recently bought a new laptop (DELL). When configuring the JDK environment variables, I found that the way to find environment variables in win11 is different from the previous way in win 7. I was a little confused at first. After checking the information, I found that there is no other way to find environment variables. Except for the changes, nothing else has changed, but in order to prevent forgetting in the future, I will write a blog to record it.

Configure environment variables

1) Find [This PC] right-click and click Properties

2) Select [System] on the right layer, pull down on the left side, and find [About]

3) You can see [Advanced System Settings], select [Advanced System Settings]


4) Click the [Environment Variables] button in the pop-up page


5) Click [New button] in the system variable area below -> Configure variable name and variable value


6) Variable name: JAVA_HOME, variable value: your jdk installation path


7) After adding JAVA_HOME, select path and click [Edit]


8) On the pop-up page, click [Add], enter %JAVA_HOME%\bin, and then click [OK]


9) In the last step, click [OK] to complete the configuration.

test

Open cmd and enter javac

Enter java -version


Test completed!

Related Posts

A simple tutorial on how to use the MybatisX plug-in in SpringBoot (super detailed!!)

append() method in JAVA

Where can I view the system logs of Windows system servers?

[ElasticSearch Series 6] Use QueryBuilders and NativeSearchQuery to implement various operations of es database on lists {multiple conditions, paging, sorting, highlighting (with highlighting tool class), etc.}

Install VMware on MAC M1 and install windows11

Multi-threaded learning

Forest detailed introduction

Java login Kerberos authentication expiration problem

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*