00:00:00 Check if Java is installed
00:01:20 Download Java JDK from official website of Oracle
00:02:30 Install Java JDK
00:03:45 Open cmd and check if Path and JAVA_HOME are set
00:05:05 Set Path
00:06:47 Create JAVA_HOME Environment Variable
00:07:35 Open cmd to verify Path and JAVA_HOME Environment Variable
To compile and run Java applications successfully you’ll need to setup the JAVA_HOME and PATH environment variables.
What is PATH used for?
The PATH environment variable consists of a list of directories containing executable programs on your system. In Windows, these programs are files which end in .exe. By including a program’s directory in PATH it becomes available to use on the command line by name, without having to specify its full path.
What is JAVA_HOME used for?
The JAVA_HOME environment variable is set to the JDK installation directory. The variable can then be used by any program that needs access to the JDK.
You can think of JAVA_HOME as a pointer. Any time you start a program that relies on the JDK in some way, the program uses that pointer to find it.
Do we need to set both JAVA_HOME and PATH?
Some modern programs are intelligent enough to extract the JDK location from PATH if JAVA_HOME is not set. For example, with Gradle you can set either PATH or JAVA_HOME and it will run fine.
Other programs, such as the Eclipse IDE, need at least the PATH in order to startup.
For the best compatibility with new and old programs that use Java always set both JAVA_HOME and PATH.
Follow me on Facebook: https://fb.me/tanztalks.tech
Join our Facebook Group and Post your Problems: / 769372597093758
Please take a moment to like and comment on my video. It helps me stay motivated! :)
Tutorials for VMWare Workstation:
• VMware Workstation Tutorials
Install macOS 12 Monterey on VMware Workstation 16 Player: • How to Install macOS 12 Monterey🔥on V...
Install VMware Tools and Make macOS 12 Monterey Full Screen in VMware Workstation 16 Player: • Full Screen HD Display | Install VMwa...
Install macOS 13 Ventura on VMware Workstation 16 Player: • How to Install macOS 13 Ventura in VM...
Install VMware Tools and Make macOS 13 Ventura Full Screen in VMware Workstation 16 Player:
Install Ubuntu 22.04 LTS on VMware Workstation 16 Player: • How to Install Ubuntu 22.04 LTS on VM...
Create Manual Snapshot in VMware Workstation Player: • How to Create Manual Snapshot in VMwa...
Tutorials on Oracle VirtualBox:
• VirtualBox Tutorial
Install Microsoft Windows 11 in Oracle VirtualBox: • How to Install Microsoft Windows 11 i...
Make Windows 11 Full Screen in VirtualBox: • How to Make Windows 11 Full Screen in...
Install Ubuntu 22.04 LTS in Oracle VirtualBox: / c5mj2swmn0
Make Ubuntu Full Screen in Oracle VirtualBox on Windows 11: • How to Make Ubuntu Full Screen in Vir...
Install Oracle Java (JDK) On Ubuntu 22.04 LTS, Debian Linux: • How To Install Oracle Java (JDK) On U...
Install Node.js on Ubuntu 22.04 LTS | Install NodeJS and npm: • How To Install Node.js on Ubuntu 22.0...
Install and Use Visual Studio Code on Ubuntu 22.04 LTS Linux (VS Code): • How to Install and Use Visual Studio ...
-----------------------------------------------------------------------------------------------------------------
If you are interested in learning about Web Design. Check out these playlist
Restaurant Theme Responsive HTML/CSS Website:
• Business Theme Modern Website | Creat...
Business Theme Responsive Animated Bootstrap Website:
• Create Responsive Animated Business T...
Travel Theme Responsive HTML/CSS Website From Scratch:
• Travel Theme Website | Create Respons...
Website Creation Tutorials:
• Website Creation Tutorial | Create Re...
Host a website on your computer without any hosting server or buying domain:
• How to Host a Website on Your Compute...
If you are interested in learning about Android App Development. Check out these playlist
Create Login and Register Android App with Firebase Authentication in Android Studio using Java
• Login and Register Android App using ...
Create State-District Dependent (Nested) Android Spinners using Java in Android Studio | DropDown List
• Dependent Multiple (Nested) Spinner (...
Android Basics
• Android Basics
My Gear:
MSI GL65 Leopard Gaming Laptop
o Processor: Intel Core i7-10750H 2.6GHz, 10th Gen (6 Cores)
o Display: 15.6" FHD (1920*1080), IPS-Level 144Hz
o Memory: 16GB DDR4 RAM, 2666Mhz
o Graphics: Nvidia GeForce RTX 2060, 6GB GDDR6
o Storage: 256GB NVMe M.2 SSD + 1TB SATA 7200RPM HDD
o Operating System: Windows 11 Home, 64Bit
o Web Camera: HD Webcam (720p at 30 fps)
o Keyboard: Per Key RGB SteelSeries Keypad
#Java #JDK-19 #Windows11 #tanzTalkstech #TanzeelOsama @TanzeelOAnsari @tanzTalkstech @tanzTalks.tech2