JAVA_HOME vs. PATH environment variables

Published: 03 May 2022
on channel: Tom Gregory Tech
8,110
192

To compile and run Java applications successfully you’ll need to setup the JAVA_HOME and PATH environment variables. In this video you’ll learn what these variables do, when to use each of them, and how to set them up properly on your Windows system.

Jump straight to your favourite section 👇
The importance of JAVA_HOME and PATH for Java 0:00
What is PATH used for? 0:19
What happens when Java is NOT on PATH? 1:31
What is JAVA_HOME used for? 2:00
What happens when JAVA_HOME is NOT set? 2:40
Do we need to set both JAVA_HOME and PATH? 3:04
How to set JAVA_HOME and PATH in Windows 3:38
How to check that JAVA_HOME and PATH are setup correctly 5:42

HEY! You can also read the accompanying article over on my website https://tomgregory.com/gradle/java-ho...

🚀 FREE GRADLE INTRODUCTORY COURSE - Get Going with Gradle - the fastest way to a working knowledge of Gradle https://tomgregory.com/gradle/courses...

🦸 GRADLE HERO COURSE TO MASTER JAVA PROJECTS - take back control of your Gradle build https://tomgregory.com/gradle/courses...

🌍 Check out more coding tutorials https://tomgregory.com/gradle/categor...


Watch video JAVA_HOME vs. PATH environment variables online, duration hours minute second in high quality that is uploaded to the channel Tom Gregory Tech 03 May 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 8,110 times and liked it 192 visitors.