No video

How to Install Java JDK 21 on Windows 10/11 [2023] | Run Java Program using JDK 21

  Рет қаралды 76,000

CS CORNER Sunita Rai

CS CORNER Sunita Rai

Күн бұрын

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

Пікірлер: 111
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
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 KZbin Thanks!
@shreyasdancecreation9870
@shreyasdancecreation9870 6 ай бұрын
Maam why am I facing error while compilation in cmd ??
@eurobeat5332
@eurobeat5332 3 ай бұрын
thank you indian ma'am i found on youtube, now i can play my minecraft mods, i wish you goodluck
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 ай бұрын
You're welcome👍 please subscribe
@BucketsGaming-xb5up
@BucketsGaming-xb5up 2 ай бұрын
yo im tryna do the same thing but i keep getting that i still need to require java 21 do you have any tips
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 ай бұрын
@@BucketsGaming-xb5up for minecraft jdk 1.8 is needed
@mahekscreativity07
@mahekscreativity07 6 ай бұрын
Hey mam! Where do I find "command prompt"???
@CSCORNERSunitaRai
@CSCORNERSunitaRai 6 ай бұрын
In search type cmd
@mahekscreativity07
@mahekscreativity07 6 ай бұрын
@@CSCORNERSunitaRai A BIG THANK TO YOU MAM!! I've done it successfully....!! Good wishes for you!
@SPatil-sb3vi
@SPatil-sb3vi 11 ай бұрын
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.
@jaganmohanreddypenumuru6834
@jaganmohanreddypenumuru6834 9 ай бұрын
Very nice explation. Thank You a lot.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@Praveenkumar-kj6tv
@Praveenkumar-kj6tv 9 ай бұрын
Mam system variables is not showing that New,Edit, Delete options 😢
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
Try this video kzbin.info/www/bejne/q2axpHt9gL9rpdEsi=q_W7o1QFs5apkTpn
@Sajitha_Alisheik
@Sajitha_Alisheik 6 ай бұрын
What are the different downloading options under windows indicates.. and why are you downloading x64 MSI installer ?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 6 ай бұрын
X64 for 64bit machine and mai is Microsoft installer
@MCA_vlog_bala
@MCA_vlog_bala 11 ай бұрын
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
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Already banaya hai.. Channel pe dekh lo, latest Video hai
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Glad my video helped u👍please subscribe
@delvarisreginald5781
@delvarisreginald5781 8 ай бұрын
I just installed Java on my computer, but I only see "Reference Documentation." What can I do in this particular situation?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 ай бұрын
Can't u see java folder in program files?
@Anonymous-ck5bx
@Anonymous-ck5bx 10 ай бұрын
its installation pop up box is not appearing on the screen after downloading and running jdk...
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 ай бұрын
Which box you're talking about
@tejaswaghulde8285
@tejaswaghulde8285 7 ай бұрын
Error: Could not find or load main class hi Caused by: java.lang.ClassNotFoundException: hi getting error done every step correctly!!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
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
@Sahil_Kumar431
@Sahil_Kumar431 9 ай бұрын
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
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 ай бұрын
You need to allow it otherwise it won't run
@smile1238
@smile1238 9 ай бұрын
Am facing issues internet open in java jdk 8 u 21 not showing kindly help
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 ай бұрын
Exactly what is problem? I'm not getting
@sonanandagawali1373
@sonanandagawali1373 4 ай бұрын
Mam mera envirmental veriable me new path add nai hora koi options hi ni dikhare me kya karu im using windows 10
@CSCORNERSunitaRai
@CSCORNERSunitaRai 4 ай бұрын
Check this video kzbin.info/www/bejne/q2axpHt9gL9rpdEsi=3shE0JyPUhNa_WQA
@sonanandagawali1373
@sonanandagawali1373 4 ай бұрын
@@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
@user-vd3tk9tc2u
@user-vd3tk9tc2u 10 ай бұрын
Thank you ma'am ❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@sallatirumala2330
@sallatirumala2330 11 ай бұрын
Thank you for sharing this video it's helpful to me
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@vishvjeet1551
@vishvjeet1551 8 ай бұрын
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 ??
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 ай бұрын
did u set path of java in environmental variable?
@vishvjeet1551
@vishvjeet1551 8 ай бұрын
@@CSCORNERSunitaRai thank you mam your video solved my problem ❤️👍🏻.
@potatopie4954
@potatopie4954 11 ай бұрын
It says error: cannot find symbol System.out.printIn("text");
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Can U send me whole code screenshots on my telegram and how U r compiling
@wolfyboy
@wolfyboy 7 ай бұрын
i'm assuming i don't have to write "system.out.println("Thanks for watching!!"); for it to work, right?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
If u want to print something then write this
@Quotesandfacts1
@Quotesandfacts1 6 ай бұрын
Error s is small s should be capital
@ravinagahlyan2053
@ravinagahlyan2053 11 ай бұрын
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
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
U need to open cmd from same directory where U hv saved your pgm
@chintansavaliya523
@chintansavaliya523 9 ай бұрын
Java version is not recognised as internal or external serval error
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 ай бұрын
Check whether you have set the path Or not
@malomaniac936
@malomaniac936 10 ай бұрын
Maam, there is no link for downloading jdk 🥲can you pls explain whats wrong with my laptop😭
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 ай бұрын
www.oracle.com/in/java/technologies/downloads/
@D4xvi
@D4xvi 7 ай бұрын
It says “Error: Could not find or load main class HelloWorld” at cmd😭
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
Check class name and file name. It should be the same. Also open cmd from path where u hv saved java file
@Neswanth0402
@Neswanth0402 7 ай бұрын
View change name of the file from.txt to .java another option allfiles
@D4xvi
@D4xvi 7 ай бұрын
@@CSCORNERSunitaRai it’s the same and I did open cmd from there 😭
@taetae9375
@taetae9375 7 ай бұрын
Hello mam How to fix the issue for file not found?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
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
@TheRealF6
@TheRealF6 11 ай бұрын
Thanks a lot!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@mikumiku-xj5lp
@mikumiku-xj5lp 9 ай бұрын
this is great thank youu
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@vy-mz1xh
@vy-mz1xh 10 ай бұрын
I dont have the Path variable ?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 ай бұрын
You can create by clicking on the new button. Provide name as path and value as installation location of jdk\bin
@sindhu6493
@sindhu6493 11 ай бұрын
I am getting error at cmd code
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Please share error on my telegram
@antonysmechery8787
@antonysmechery8787 11 ай бұрын
Mam i can't edit path in system variable..😢
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Did you logged in as admin
@suryarebel9979
@suryarebel9979 11 ай бұрын
Mam i cannot edit path in system variable it looks like dull edit button
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Did you logged in as admin?
@suryarebel9979
@suryarebel9979 11 ай бұрын
@@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
@liki6922
@liki6922 10 ай бұрын
@@CSCORNERSunitaRai how do i log in as admin ma'am
@daffodils2706
@daffodils2706 11 ай бұрын
Mam I am unable to use snippet code such as syso for system. out. println what is the solution mam please
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
Which ide U r using? It differs from ide to ide
@daffodils2706
@daffodils2706 11 ай бұрын
Mam jdk 20 visual studio code
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
@@daffodils2706 video is already available on my channel
@santhosh-se5vr
@santhosh-se5vr 11 ай бұрын
Thanks Mam it helps a lot
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
You're welcome👍 please subscribe😊
@suhailkhan-er5dp
@suhailkhan-er5dp 10 ай бұрын
Great mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@user-jz7co6wg2p
@user-jz7co6wg2p 9 ай бұрын
Thank you
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
You're welcome 👍 Please subscribe
@balimenipoojitha2866
@balimenipoojitha2866 3 ай бұрын
Mam there's An error: file not found in cmd
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 ай бұрын
Check your file name. Also follow video once again
@viralvideoph1209
@viralvideoph1209 11 ай бұрын
File not found. How to fix this?
@taetae9375
@taetae9375 7 ай бұрын
Even I am facing this issue
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
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
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
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
@abdurrauf.1
@abdurrauf.1 11 ай бұрын
why you install x64 MSI?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
It's installer for the 64-bit version of Windows
@TECHVETS
@TECHVETS 2 ай бұрын
Madam can we run java 32bit on windows 64bit platform?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Ай бұрын
I think yes
@NancyEwulonu
@NancyEwulonu 6 ай бұрын
Thanks
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 ай бұрын
Most welcome 😊Please subscribe
@csgyan812
@csgyan812 11 ай бұрын
Thank you for this video
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
You're welcome👍 please subscribe
@NSASANAPURIKAVYASRI
@NSASANAPURIKAVYASRI 11 ай бұрын
thank you mam.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
You're welcome👍
@JaiminPanchal-tp3yb
@JaiminPanchal-tp3yb 7 ай бұрын
Plzzz send me aa download link
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
Download link of?
@lakshmiprasanna7560
@lakshmiprasanna7560 10 ай бұрын
Can I download this in 32 bit laptop
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 ай бұрын
Yes
@lakshmiprasanna7560
@lakshmiprasanna7560 10 ай бұрын
@@CSCORNERSunitaRai 😊 thanks for the reply mam
@albinbabela9050
@albinbabela9050 11 ай бұрын
🤝 Thank you for your sharing...
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 ай бұрын
You're welcome👍 please subscribe
@sandhyarani362
@sandhyarani362 7 ай бұрын
sir its not working sir in windows 11
@CSCORNERSunitaRai
@CSCORNERSunitaRai Ай бұрын
It's working, I have installed on windows 11 also
@Electric_Fusion
@Electric_Fusion 7 ай бұрын
it said 69 comments nice
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 ай бұрын
I didn't get u?
@salo0901
@salo0901 4 ай бұрын
tu cuilo es mio
@CSCORNERSunitaRai
@CSCORNERSunitaRai 4 ай бұрын
😂
@sumathi.p4689
@sumathi.p4689 10 ай бұрын
Thank you
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 ай бұрын
You're welcome 👍 Please subscribe😊
How to install Intellij IDEA Community Edition on Windows 10 / Windows 11
9:46
ProgrammingKnowledge2
Рет қаралды 36 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 33 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 4,3 МЛН
How to Install Java JDK 21 on Windows 10 | Amit Thinks
7:20
Amit Thinks
Рет қаралды 76 М.
How to Run Java Programs With Command Prompt (cmd) and Notepad in Windows
5:43
How to Write ,Compile and Run Java Program using Notepad and Command Prompt
4:24
CMD PRANKS! (Educational Purposes ONLY!)
9:17
Veraxity
Рет қаралды 1,5 МЛН
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,7 МЛН
How to Install Java JDK 8 on Windows 11 ( with JAVA_HOME )
7:28
CodeWithWebDev
Рет қаралды 80 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20