How to Install Java JDK 21 on Windows 10/11 [2023] | Run Java Program using JDK 21
HTML-код
- Опубликовано: 21 авг 2024
- Learn how to install Java JDK 21 on Windows 10. Also, we will see how to verify the installation & How to Run the First Java Program using JDK 21. Java installer file comes with JRE and JDK.
Timestamps:
00:16 - Download Java JDK 21
01:05 - Install it on Windows 10/11
01:50 Check Java Version on cmd
02:25 - Set the JDK path under the Environment Variables section on Windows 10.
03:32 - Create HelloWorld Program in Java
05:19 - Save Java Program
05:46 - Run Java Program on Command Prompt
06:47 How to Run Java Program on Command Prompt using JDK 21
7:30 Java Program without main() method
If you follow the steps properly, I'm sure the installation will be successful.
Step-1: How to Download Java
Open your web browser
Click on the URL: www.oracle.com...
Select your OS tab.
Find and click on the correct JDK download link right for your operating system.
It will download & save files to your disk.
Step-2: Install Java
Click to run the downloaded installer file
Just follow the prompt in the Installer window
Step 3: Test whether Java working or not
Open cmd, type javac or java --version
✅Subscribe to my Channel to learn more about Computer Programming, computer tools, and technologies.
Thanks for watching my videos till the end, if you like my work please do Like, Comment, and Share!!
-----------------------------------------------------------------------
Channel Subscription:
🔗 / @cscornersunitarai
🔗 / @codewithsunita
Java Programming Tutorial Playlist
🔗 • Java Programming Tutorial
Advanced Java Tutorial Playlist
🔗 • Advanced Java Tutorial
------------------------------------------------------------------------
🎥 Tools I used for recording
www.amazon.in/...
------------------------------------------------------------------------
CONNECT WITH ME ON:
►Facebook - / cscornersunitarai
►Personal Facebook A/c - / sunita.sharmarai
►Instagram - / cscornersunitarai
►Telegram - t.me/cscorner
►LinkedIn - / cscornersunitarai
------------------------------------------------------------------------
install java jdk 21,install java 21,install java,how to install java on windows 10,install java jdk,how to install java jdk,java jdk on windows 10,java jdk,how to install java jdk on windows 10,how to install java,install java on windows 10,java jdk 21,install java jdk on windows 10,install jdk 21 windows,jdk 21 install,jdk installation in windows 11,latest jdk,install java 21 on windows 10,java jdk install,java 21,java 21 download,java jdk download,how to install java,install java,java,how to install java on windows 10,how to install java jdk,how to install java jdk on windows 10,install java jdk 21,java jdk 21,install java 21,set java environment variable,install java 21 on windows 10,how to install java on windows 11,how to install java jdk on windows 11,install java 21 on windows 11,java jdk 21,how to download java 2023,java jdk install,java 21,java 21 features,java 21 download,jdk 21 install,install java jdk 21,java jdk 21,install java 21,install java,features,java,set java environment variable,learn java,how to install java,how to install java on windows 10,install java 21 on windows 10,windows 10,java jdk 21
Got a question on this topic? Please share through comments or reach us on telegram t.me/cscorner
Please SUBSCRIBE for more! Also, you can Support me through RUclips Thanks!
Maam why am I facing error while compilation in cmd ??
thank you indian ma'am i found on youtube, now i can play my minecraft mods, i wish you goodluck
You're welcome👍 please subscribe
yo im tryna do the same thing but i keep getting that i still need to require java 21 do you have any tips
@@BucketsGaming-xb5up for minecraft jdk 1.8 is needed
Very nice explation. Thank You a lot.
You're welcome 👍 Please subscribe
Mam you are best teacher because I watch minimum 20 videos but I am not able to understand how run java in cmd but you able to teach me how we can run my code .....thanks mam❤..........
Mam please eclipse with jdk 21 par or ekk video bana dho
Already banaya hai..
Channel pe dekh lo, latest Video hai
Glad my video helped u👍please subscribe
Error 1335.The cabinet file 'st.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
Thank you ma'am ❤
You're welcome 👍 Please subscribe
Thank you for sharing this video it's helpful to me
You're welcome 👍 Please subscribe
Hey mam!
Where do I find "command prompt"???
In search type cmd
@@CSCORNERSunitaRai A BIG THANK TO YOU MAM!!
I've done it successfully....!!
Good wishes for you!
i'm assuming i don't have to write "system.out.println("Thanks for watching!!"); for it to work, right?
If u want to print something then write this
Error
s is small s should be capital
Thanks a lot!
You're welcome 👍 Please subscribe
Mam system variables is not showing that New,Edit, Delete options 😢
Try this video
ruclips.net/video/u5NsHGKZ8oo/видео.htmlsi=q_W7o1QFs5apkTpn
this is great thank youu
You're welcome 👍 Please subscribe
Great mam
You're welcome 👍 Please subscribe
What are the different downloading options under windows indicates.. and why are you downloading x64 MSI installer ?
X64 for 64bit machine and mai is Microsoft installer
I just installed Java on my computer, but I only see "Reference Documentation."
What can I do in this particular situation?
Can't u see java folder in program files?
its installation pop up box is not appearing on the screen after downloading and running jdk...
Which box you're talking about
Thank you for this video
You're welcome👍 please subscribe
Error: Could not find or load main class hi
Caused by: java.lang.ClassNotFoundException: hi
getting error done every step correctly!!
Your class name and file name should be same.
Also u need to start cmd from where u hv saved ur java file
Hope this will help u
please subscribe
Thanks Mam it helps a lot
You're welcome👍 please subscribe😊
Thanks
Most welcome 😊Please subscribe
Thank you
You're welcome 👍 Please subscribe
Hlo mam,
I am using vs code......i also have downloaded the jdk version 20 but whenever i open vs code it always showing that "download and install java development kit" so what should i do now ??
did u set path of java in environmental variable?
@@CSCORNERSunitaRai thank you mam your video solved my problem ❤️👍🏻.
Mam after downloading jdk in the installation process it is showing that java wants to make changes in my laptop device and showing
File origin:Hard drive on this computer
Please tell me what should i do now
You need to allow it otherwise it won't run
Mam mera envirmental veriable me new path add nai hora koi options hi ni dikhare me kya karu im using windows 10
Check this video
ruclips.net/video/u5NsHGKZ8oo/видео.htmlsi=3shE0JyPUhNa_WQA
@@CSCORNERSunitaRai mam yaha tak to aa raha hai par iske baad jab hum path select karke edit pe clik karte hai uske bad new path seclect ka option hi ni dikhar rha meme bhot try kiya tab bhi nai hora kya karu plz batayiye
Mam..mera cmd p..error show kr rha hai..when m trying to compile my program...its giving error.. what to do...its giving file not found
U need to open cmd from same directory where U hv saved your pgm
Am facing issues internet open in java jdk 8 u 21 not showing kindly help
Exactly what is problem? I'm not getting
Java version is not recognised as internal or external serval error
Check whether you have set the path Or not
thank you mam.
You're welcome👍
It says error: cannot find symbol System.out.printIn("text");
Can U send me whole code screenshots on my telegram and how U r compiling
I am getting error at cmd code
Please share error on my telegram
It says “Error: Could not find or load main class HelloWorld” at cmd😭
Check class name and file name. It should be the same. Also open cmd from path where u hv saved java file
View change name of the file from.txt to .java another option allfiles
@@CSCORNERSunitaRai it’s the same and I did open cmd from there 😭
Maam, there is no link for downloading jdk 🥲can you pls explain whats wrong with my laptop😭
www.oracle.com/in/java/technologies/downloads/
Hello mam
How to fix the issue for file not found?
1. Check your class name and file name, it should be same
2. u should open cmd from the path where u have saved ur program
Hope this will help u, please subscribe
Mam i can't edit path in system variable..😢
Did you logged in as admin
File not found. How to fix this?
Even I am facing this issue
Follow the steps given in the video properly.
Check whether file name and class name same or not.
Check u R opening cmd from the path where u hv saved ur file
Follow the steps given in the video properly.
Check whether file name and class name same or not.
Check u R opening cmd from the path where u hv saved ur file
Mam i cannot edit path in system variable it looks like dull edit button
Did you logged in as admin?
@@CSCORNERSunitaRai thank you mam resolved mam I had pinned one more doubt in net bean installation can you reply me fast I had raised a comment on netbean installation pls reply mam
@@CSCORNERSunitaRai how do i log in as admin ma'am
I dont have the Path variable ?
You can create by clicking on the new button.
Provide name as path and value as installation location of jdk\bin
🤝 Thank you for your sharing...
You're welcome👍 please subscribe
it said 69 comments nice
I didn't get u?
Madam can we run java 32bit on windows 64bit platform?
I think yes
Mam I am unable to use snippet code such as syso for system. out. println what is the solution mam please
Which ide U r using?
It differs from ide to ide
Mam jdk 20 visual studio code
@@daffodils2706 video is already available on my channel
why you install x64 MSI?
It's installer for the 64-bit version of Windows
Mam there's An error: file not found in cmd
Check your file name.
Also follow video once again
Can I download this in 32 bit laptop
Yes
@@CSCORNERSunitaRai 😊 thanks for the reply mam
Plzzz send me aa download link
Download link of?
sir its not working sir in windows 11
It's working, I have installed on windows 11 also
tu cuilo es mio
😂
Thank you
You're welcome 👍 Please subscribe😊