Best Guide To Set JAVA Environment Variable
what is the java environment variable?
- java environment variable to set the java_home path and which is a connection between java compiler and hardware
- its benefit is that you can run a java program in your computer system
How to set java environment variables?
it's a few steps below to set the environment variable
- First of the Download JDK file which is related to your computer system
- subsequently, Download Zip and extract this zip file using many Zipper software which is available in the market and internet
- After file copy extract file and put in a new java(folder name) folder in your pc program file.
- Complete this step open your search panel.
- search 👉 view advance system setting
- After clicking on Environment variable
- Click on new java environment variable name and value
- variable name 👉 JAVA_HOME
- variable value 👉 C:\Program Files\java\jdk-13.0.1
- Press the ok button and save both parameter value
- After open JDK folder path in your system
- copy bin directory path : C:\Program Files\java\jdk-13.0.1\bin
- press ok and save all these
- If u check in your computer set java environment variable successfully
- open the search panel and type cmd
- Then type in 👉 javac
- Show the magic and java environment variable work successfully install and java compiler show some code below picture.
- so above all methods to set the java environment variable successful in your Hardware