search
HomeCommon ProblemJava environment variable setting tutorial

Java environment variable setting tutorial

Jul 04, 2023 pm 01:41 PM
java environment variable settings

Java environment variable setting tutorial

The following is a detailed Java environment variable setting tutorial:

  1. Download the Java JDK (Java Development Kit) installer and run the installer. You can download the Java JDK version for your operating system from Oracle's official website (https://www.oracle.com/java/technologies/javase-jdk11-downloads.html).

  2. The installation program will prompt you to select the installation path. Make a note of this path as you will need it later.

  3. Open Control Panel (you can select Control Panel through the Start menu or by pressing the Win X key).

  4. In Control Panel, select "System and Security". In the "System and Security" option, click "System".

  5. On the "System" page, click "Advanced System Settings". In the "System Properties" dialog box, click the "Environment Variables" button.

  6. In the User Variables or System Variables section, click New. Enter the following variable names and values: Variable Name: JAVA_HOME Variable Value: Java JDK installation path (the path noted in step 2) Click "OK" to save the changes.

  7. Find the variable named "Path" in the "System Variables" section and click "Edit".

  8. In the "Edit Environment Variables" dialog box, click "New" and enter the following: %JAVA_HOME%\bin OK to save all dialog boxes.

  9. Open the command prompt and enter the "java -version" command to verify whether Java is successfully configured.

The above is the detailed content of Java environment variable setting tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Video Face Swap

Video Face Swap

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

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.

MantisBT

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.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools