How to set temporary path and permanent path in Java?
#There are two ways to set the path in java, one is the temporary path and the other is the permanent path.
Set the temporary path
- Open the command prompt in Windows
- Copy the path to the jdk/bin directory where java is located (C:\Program Files\Java\jdk_version \bin)
- Write in the command prompt: SET PATH=C:\Program Files\Java\jdk_version\bin and press Enter command.
Set Permanent Path
- Go to My Computer ---> Right click on it ---> Advanced System Settings ---> Advanced Tab ---> Click on Environment Variables
- Click on the new tab of User Variables and assign the value JAVA_HOME to the variable name
- java\jdk_version\bin path (copied path) to the variable value and click the OK button
- Finally, click the OK button.
The above is the detailed content of How to set temporary path and permanent path in Java?. For more information, please follow other related articles on the PHP Chinese website!

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

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Chinese version
Chinese version, very easy to use

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft