How to Install Java JDK 21 on Windows 11
ฝัง
- เผยแพร่เมื่อ 23 ส.ค. 2024
- Learn how to install Java JDK 21 on Windows 11. First, download Java JDK 21, then install it on Windows 11. We will also run a sample Java program after installing it.
Java Tutorial:
studyopedia.co...
#Java #JavaInstallation #Java21 #AmitThinks #JavaJDK21
-------------------------------------------------------------------------------------------------------------
✔️ My Website - studyopedia.com
✔️ Get Certified - bit.ly/3WV9sXK
👉 Follow me
LinkedIn - bit.ly/3C1CY4v
Instagram - bit.ly/3z8Fg1d
Telegram - bit.ly/3wWBh5i
-------------------------------------------------------------------------------------------------------------
► Top Free Video Tutorials
Python Tutorial (English)⭐️ • Learn Python in 2 Hour...
Python Tutorial (Hindi)⭐️ • Python Full Course in ...
Google Colab Tutorial ⭐️ • Google Colab Tutorial ...
Anaconda Tutorial ⭐️ • Anaconda Tutorial for ...
PyCharm Tutorial ⭐️ • PyCharm Tutorial for B...
MySQL Tutorial ⭐️ • Learn MySQL in 3 Hours...
SQL Tutorial ⭐️ • Learn SQL in 2 Hours |...
VS Code Tutorial ⭐️ • Master Visual Studio C...
Visual Studio Tutorial ⭐️ • Learn Visual Studio 20...
HTML Tutorial ⭐️ bit.ly/3Ts696N
Bootstrap Tutorial: • Bootstrap 5 Tutorial f...
VS Code Tutorial: • Master Visual Studio C...
Visual Studio Tutorial: • Learn Visual Studio 20...
► Programming - Free Study Material (Downloadable)
Python ⭐️ studyopedia.co...
Numpy ⭐️ studyopedia.co...
Pandas ⭐️ studyopedia.co...
Matplotlib ⭐️ studyopedia.co...
Java ⭐️ studyopedia.co...
C ⭐️ studyopedia.co...
C++ ⭐️ studyopedia.co...
C# ⭐️ studyopedia.co...
Numpy ⭐️ studyopedia.co...
Android ⭐️ studyopedia.co...
R ⭐️studyopedia.co...
► Web Dev - Free Study Material (Downloadable)
HTML5 ⭐️ studyopedia.co...
PHP ⭐️ studyopedia.co...
Bootstrap⭐️ studyopedia.co...
JavaScript⭐️ studyopedia.co...
jQuery⭐️ studyopedia.co...
► Database - Free Study Material (Downloadable)
SQL ⭐️ studyopedia.co...
MySQL ⭐️ studyopedia.co...
MongoDB⭐️ studyopedia.co...
► CMS - Free Study Material (Downloadable)
WordPress ⭐️ studyopedia.co...
Joomla⭐️ studyopedia.co...
Drupal ⭐️ studyopedia.co...
Magento ⭐️ studyopedia.co...
PrestaShop ⭐️studyopedia.co...
OpenCart ⭐️studyopedia.co...
osCommerce ⭐️studyopedia.co...
► Free Interview QA
Python🔥studyopedia.co...
Java 🔥studyopedia.co...
Android🔥studyopedia.co...
ReactJS🔥studyopedia.co...
Bootstrap 🔥studyopedia.co...
SQL 🔥studyopedia.co...
MongoDB 🔥studyopedia.co...
MySQL 🔥studyopedia.co...
👉 About Amit Thinks TH-cam Channel
I am Amit Diwan, a self-made Entrepreneur, running "Amit Thinks", a Tech TH-cam Channel. Also running an E-Learning website "studyopedia.com". We publish videos in English and Hindi on Programming, Databases, and Web Dev Technologies. I have left a job offer from Accenture and 3 government jobs to follow my dream of being an entrepreneur.
Join this channel to get access to perks:
/ @amit.thinks
► Subscribe
/ @amit.thinks
🔥Java Tutorial: bit.ly/3dOeR0p
Python Tutorial: th-cam.com/video/HakXpkXcjdI/w-d-xo.html
MySQL Tutorial: th-cam.com/video/fFgdnS1laA0/w-d-xo.html
SQL Tutorial: th-cam.com/video/3mukGYjvixE/w-d-xo.html
THANK U i was looking for this!!
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
*_Thank You So Much Sir._* 😍
*_Very Very Helpful Tutorial_* 🥰
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you very crisp and straight to the point!! first time user was able to follow easily 😊
Thank you so much...your video is so helpful ....I had horrible difficulty finding and running a java program...... thanks once again 😊
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Perfect explanation! I'm looking for this, thanks.
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thankyou very much sir ❤❤❤
Complete my 1st program useing your guides.
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
The setting of JAVA_HOME path till jdk is no longer required in jdk21? please reply
Thank you sir ❤ it's too helpful 🎉
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you so much very helpful video ❤
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks for sharing Your Knowledge
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks
very simply explained
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks a lot ! Simple and Genuine Video!!
Glad it was helpful! Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
thank u soo much it was so easy to follow the steps
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Is jdk 19 or jdk 21 which is best for programs and software product development
for 11 jdk 21 is best
Thank you sir this video is very helpful for me
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank You so much for this upload. Finally solved my issues just because i was successfully able to install JDK properly using Environment Variables. Wonderful work!!
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks alot bro, it worked 💪
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
thankyou so much sir i was struggling to dowload finally i watched yours and downloaded,
it helped me so much.
Glad to hear that. After installing, refer to our free Java Tutorial: studyopedia.com/tutorials/java
Again thank you brother
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
thank you man you are litterally the GOAT
Happy to help. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you sir 🙏
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
I get the downloading part. But when i try to run it, the installation wizard refuses to come up. Iv'e tried installing and reinstallig it over and over again. Iv'e also tried running other versions but the same issue. Someone help.
Windows issue
@@Amit.Thinks how do you suggest I go about it sir?
Email the screenshots: amit_2010@outlook.com
Really useful buddy thank you ❤
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks.. It works perfect
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
very easy setup thank you for the video... thumbs up
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Can you please a make a video to reset or rename our laptop folder name which is shown in local disk C except public folder
nd it is also seen in your this video when we open command prompt then it is shown like(users/hp/)how to change that rename that folder which is name as hp
Hi, First, you should learn Windows. So, you are planning to rename your system name? Why so? Common sense suggest the path would be different on both of ous systems because systems can have different name.
Leave everything and create a Java file in the D or E drive.
Sir ye jo apne notepad main kara hai vo jaruli karna hai kya Q ki mera ka TDS tcs ka hai
TDS TCS?
Bhai, vo sample code run kiya hai....studyopedia.com/java/java-first-program/
Thank you so much sir for your help
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Thankyou so much bhaiyaa❤🥺
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank-you sir for the video
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Sir i followed all the steps but am getting error telling
Could not find or load main class studyopedia
I guess you renamed the .Java file incorrectly. Check this:
th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
thanks a lot useful for me to install the java
Glad to hear that. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks bro it worked 😄
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks thanks alot amit
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you brother 👍
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you so much sir ❤
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir I accidentally deleted the path variable what should I do now ???please reply
Add it again
Brother,i tried following the steps..But it is coming as "The app you 're trying to install isn't a Microsoft-verified app".Installing from the store helps to protect your PC and keeps it running smoothly"
What should i do??
Never faced such an error.
Did you tried finding a solution online? I think a quick Google search would give you more than 10 solutions. Help yourself.
Changing the file name to .java
does not change the text file to
Java file.. how to fix it?
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Thanks a lot!💙💙
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
thank you so muchh
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thankyou so much.
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Thank you !💪
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
thankyou so much🥰🙏
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks Man
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you sir🎉
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
thank you sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir I was not able to add environment variable, new , edit , option was not woeking it was transparent dim
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Thanks much sir, I did it. Thanks sir.😊
Thank you ❤️
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
gracias hermano mil gracias
De nada. Después de la instalación, consulte nuestro tutorial gratuito de Java: studyopedia.com/tutorials/java
Thank you Brother
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Tq sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir I had followed all the procedures but even yet my cmd is not showing the Java file.... Do i need to reprocess all the installation and path settings....
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
thanks bro
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
@Amit - Anything i download from Apache Groovy its ending with groovy-5.0.0-alpha-5.msi is not commonly downloaded. Make sure you Trust groovy-5.0.0-alpha-5.msi before.... Its not for the latest version even if i tried to download for lower version also i am getting the same notification. Thus I am not able to move ahead. Can you please suggest me how to resolve this issue?
Please note : I am able to successfully download the Download 4.0.18 folder however from there on not sure how to proceed further.
Is this Apache Groovys's video?
it worked thanks
Glad it helped. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thankyou
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thankyou😊
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Excellent video
Glad you liked it. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir when i want to enter in last cmd error says " unclosed string literal" what can i do? Pls help
Syntax error. Refer the code from here: studyopedia.com/java/java-first-program/
Thankyou sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir i want to save java file but ..in type it give text document is show sir ...sir plzzz reply me
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
thank u sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Hlo sir,
In cmd prompt when I typed java--version it is showing that "java--version is not recognised as internal or external command operable program or batch file". Sir please help me sir in getting this issue.please sir reply..
java--version
or
java --version
Tq sir, my issue is solved and I did my first java programm.
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
SIR by mistake i deleted path file in envoirment variable .so can't paste bin file path...so how can i recover path in envoirment.
.plz help me
Unfortunately, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Error: Could not find or load main class Ajay1
Caused by: java.lang.ClassNotFoundException: Ajay1
please help 😓😓😓
You did not followed the video properly.
The file name should be equivalent to the class name.
Check this: studyopedia.com/java/java-first-program/
thank you
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
Hey i cant double click on the path in system variables pls help.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Sir can i instal java in vivobook x515ma ?
Try.
Never heard anything about Vivobook
Sir I can't double click on path option.It doesn't seen anything in double click
Hi, Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Thanks
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir, followed your steps but still not get install as in cmd prompt I getting Java not installed error
What are you typing on cmd?
@@Amit.Thinks java --version
Did you set the path?
Verify: studyopedia.com/java/install-java-windows/
@@Amit.Thinks Thanks for the quick response sir, but it was done after restarting my system.
Sir when i m trying to run the program, it was showing file not found then how can i solve problem sir
I followed each every step but don't know why it was showing file not found
You did not named the file properly (extension issue):
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
I Vang find the edit the environmentvariables on ny pc pls help guys
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
After jdk we can install Apache NetBeans
Install NetBeans: th-cam.com/video/45ng2smz_w0/w-d-xo.html
@@Amit.Thinks so first I should install jdk?
Yes, but maybe the Java JDK 21 may not support NetBeans current version since Java JDK 21 just launched on 19th September.
@@Amit.Thinks 20
hello sir, i try this but not support the notepad++ , does not change .java .what is the reason .
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Thank you for your valuable Response
You're welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
It doesnt let me edit the system variables..... what can i do
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Tnx sir
Welcome. Refer our free Java Tutorial: studyopedia.com/tutorials/java
C:\Anujproject>javac studyopedia.java
studyopedia.java:2: error: cannot find symbol
public static void main(string arg[])
^
symbol: class string
location: class studyopedia
studyopedia.java:4: error: package system does not exist
system.out.println("AnujProject");
^
2 errors
kaisse fix hoga yeh ??
Bhai mere, aakhe khol ke coding karo aap. :)
string arg[]
or
String arg[]
system.out.println()
or
System.out.println()
Copy the code from here: studyopedia.com/java/java-first-program/
I did not find the "Environment Variables" field.
Where can i find it ??
Hi, Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
When path double click not opening, plsss help
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Thxxxx
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you sir💐
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
sir unable to edit system variable??
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Sir mere me folder bnane ke bad edit or open with notepad++ nahi aa raha
Bhai, Notepad mein open karna aata hai?
Notepadd+ tab dikhega jab installed hoga system mein.
error-file not found
solution please
This is a basic file creation or rename issue. Unrelated to Java.. Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Applet using but Applet keyword warning generated 🙂how to solve
Applet deprecated lomg ago
Use Java Swing.
Sir mai jab system variable pe click karta hu tab *Next click nahi hota
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Sir there is one error. can u please hlp me ?
You could have directly mentioned the error.
File not found error generate plzz tell me sir how i solve this problem
Set the path properly.
Name the file properly.
This is basic Windows usage, unrelated to Java.
@@Amit.Thinks my problem is solved because I watch other video and in the file explorer txt file is not changed so that's why this problem is show Now everything is ok .by the way thx sir for response 😊
Welcome. Refer this free tutorial now:
Java Tutorial: studyopedia.com/tutorials/java
It doesn’t work when I double click to paste the thing in
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
@@Amit.Thinks ok thanks for the help
Cool! Afer installing, refer to our free Java Tutorial: studyopedia.com/tutorials/java
bhai edit ka option nhi aa rha hai system variables me
Follow this properly. You missed a minor step:
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Jdk 22 is best for windows 11
Java JDK 22: th-cam.com/video/5LlfwQ4xzXc/w-d-xo.html
Java Tutorial: studyopedia.com/tutorials/java
Hello Amit
What version do I have to use netbeans to fit jdk 21?
I don't think NetBeans would support Java 21 since it was released on 19th September.
Try Java 20 for the current NetBeans version.
@@Amit.Thinks java 20 with netbeans-19
Will it support?
Kindly response!
Written here: netbeans.apache.org/download/nb19/
As on 1st October: The Apache NetBeans 19 binary releases require JDK 11+, and officially support running on JDK 11, 17 and 20.
@@Amit.Thinksokay sir, thank you for your response 👍
do we also need to download the jre even after downloading jdk 21?
Did I installed the JRE?
Check this: th-cam.com/video/V6zni8ZpT6A/w-d-xo.html
Im not able to install it, coz its not showing the links
Change the web browser or I guess, the today’s date is not set on your system
😍
but sir vs code me kaise kare
Follow the same steps: th-cam.com/video/G3cIK1P7i9o/w-d-xo.html