At 13:31, can I just exclude \bin so it'll be %JAVA_HOME%; ? Great tutorial! I did edit the Path in System variables along with the Path in User variables to get Python running. I'll have to try your method of only using User variables.
Yep. Set the JAVA_HOME variable to contain the path to the Java installation folder, then in your path variable add %JAVA_HOME%\bin; -- Note, the semicolon ';' separates path entries, so if there's already something in your user's path, and it didn't end with a semicolon, you'd need to prepend a semicolon which would yield: ";%JAVA_HOME%\bin;" I'm happy you found the video helpful. Please subscribe! This channel needs all the help it can get!
One more thing...if you're doing Python programming in Windows, you'll want to use VirtualEnv as explained in this video: ua-cam.com/video/ZpNj5z0tqx4/v-deo.html
I have three compilers install java,kotlin and python..and i have only two path variables..one in user variable and the other one in system variable....so why cant i set path for these three compilers at a time...
Hi Aman, you can add as many environment variables to the User section as you need. You generally just need to locate the bin directories for these installs and add the paths to your PATH environment variable. You should consult the installation instructions for each compiler for specific instructions. Python can be tricky as sometimes you need to use Python 2 and other times you need Python 3, and installing two versions of python on one system can lead to problems, unless you use a virtual environment like virtualenv: virtualenv.pypa.io/en/latest/ See as an example the Kotlin Manual Install section on this page: kotlinlang.org/docs/tutorials/command-line.html For Java, you need to make sure you install the correct JDK: Most pros still use Java 8: www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Note, for all these installs, you should only need to create environment variables in the user section. Sometimes an installer will add or modify environment variables in the system section. Mastering environment variables leads to mastering the machine and takes a lot of the mystery out of WTF is going on underneath the covers.
@@abhishekachar6398 If it was your user path variable, it most likely wasn't too long, and should be fairly easy to recreate. Essentially, you want to follow the general steps in the video for creating environment variables and add the paths to applications you want on the path. All the path variable does is hold a set of path strings so that when the OS searches for a command, it knows what directories to search. That's about as much as I can help via UA-cam.
No problem. You can add the PATH environment variable to your Users environment variable section. Creating a DOT_NET_HOME environment variable just makes it easier to add to the PATH variable.
Thanks for this helpful guide
you are just so wonderful , but I forgot why I was looking for variables, somewhere around 4:19 . Thank you for this excellent video.
I’m happy you found it helpful Tom!
At 13:31, can I just exclude \bin so it'll be %JAVA_HOME%; ?
Great tutorial! I did edit the Path in System variables along with the Path in User variables to get Python running. I'll have to try your method of only using User variables.
Yep. Set the JAVA_HOME variable to contain the path to the Java installation folder, then in your path variable add %JAVA_HOME%\bin; -- Note, the semicolon ';' separates path entries, so if there's already something in your user's path, and it didn't end with a semicolon, you'd need to prepend a semicolon which would yield: ";%JAVA_HOME%\bin;"
I'm happy you found the video helpful. Please subscribe! This channel needs all the help it can get!
One more thing...if you're doing Python programming in Windows, you'll want to use VirtualEnv as explained in this video: ua-cam.com/video/ZpNj5z0tqx4/v-deo.html
I have three compilers install java,kotlin and python..and i have only two path variables..one in user variable and the other one in system variable....so why cant i set path for these three compilers at a time...
Hi Aman, you can add as many environment variables to the User section as you need. You generally just need to locate the bin directories for these installs and add the paths to your PATH environment variable. You should consult the installation instructions for each compiler for specific instructions. Python can be tricky as sometimes you need to use Python 2 and other times you need Python 3, and installing two versions of python on one system can lead to problems, unless you use a virtual environment like virtualenv: virtualenv.pypa.io/en/latest/
See as an example the Kotlin Manual Install section on this page: kotlinlang.org/docs/tutorials/command-line.html
For Java, you need to make sure you install the correct JDK: Most pros still use Java 8: www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Note, for all these installs, you should only need to create environment variables in the user section. Sometimes an installer will add or modify environment variables in the system section. Mastering environment variables leads to mastering the machine and takes a lot of the mystery out of WTF is going on underneath the covers.
thanking you sir after many videos yours method is working for me
Thank you Sunil. I'm happy you found it helpful.
Hi ... sir i donot have path variable in my user variables .. i am facing difficulties while applying this method ..can you guide plss
What seems to be the problem? You should be able to add a new path variable if one does not exist.
Thanks. I vaguely remember doing this in DOS. It's been a long time. Was it used back then?
Yes it was. Thanks for watching.
Whenever I try to add a path variable, it doesn't seem to work
If you're trying to use the command console, you need to close it and reopen it before you see the effects of adding a new environment variable.
Sir all my environment variables are deleted in path,what can I do now?
Did you delete them?
@@PulpFreePress accidentally got deleted while fixing some Java issue
@@abhishekachar6398 If it was your user path variable, it most likely wasn't too long, and should be fairly easy to recreate. Essentially, you want to follow the general steps in the video for creating environment variables and add the paths to applications you want on the path. All the path variable does is hold a set of path strings so that when the OS searches for a command, it knows what directories to search. That's about as much as I can help via UA-cam.
I didn’t have a path so? And I also don’t have the DOT_HOME thing I think mine was different but idk what happened
No problem. You can add the PATH environment variable to your Users environment variable section. Creating a DOT_NET_HOME environment variable just makes it easier to add to the PATH variable.
Thanks for a concise and detailed guide :-)
Hi Lars, glad you found it helpful.
Are yiu