Java - Setting up Environment Variable for Java

Published: 19 October 2020
on channel: 2klearners
48
5

Setting up Environment Variable is Necessary Because The Java Compiler Wants To Connect With the Current Operating System.

So that the Java Program Can be Compiled in Command Prompt.

It is Necessary to Set up Environment Variable For Java. Until that Your Java Program Cannot be Compiled.

Steps To be Followed :
_______________________

Step 1: Open Command Prompt and Type "Java" .When it Shows it is Not Recognized

Step 2: Setting Up Environment Variable By Copying The Bin Folder of Java Location and Paste It into Environment Variables which is present in Advanced System Setting in Control panel.

Step 3: Create New
Variable Name: Path
Variable Value : C:\Program Files\Java\jdk-13.0.2\bin(The Location of Java Bin Folder)

Step 4: Click Ok and Close The Settings and go to Command Prompt

Step 5: Type "java" Now the Java Basic Commands Can be Listed Out. So That You Have Completed The Environment Variable Setup Sucessfully.

link :https://www.oracle.com/in/java/techno...
Start Java Programming.

#java
#jdk
#setup


On this page of the site you can watch the video online Java - Setting up Environment Variable for Java with a duration of hours minute second in good quality, which was uploaded by the user 2klearners 19 October 2020, share the link with friends and acquaintances, this video has already been watched 48 times on youtube and it was liked by 5 viewers. Enjoy your viewing!