How to Install Java JDK 22 on Windows 11

Поділитися
Вставка
  • Опубліковано 22 бер 2024
  • Learn how to install Java JDK 22 on Windows 11. First, download Java JDK 22, then install it on Windows 11. We will also run a sample Java program after installing it.
    Java Tutorial:
    studyopedia.com/tutorials/java
    #Java #JavaInstallation #Java22 #AmitThinks #JavaJDK22
    -------------------------------------------------------------------------------------------------------------
    ✔️ My Website - studyopedia.com
    ✔️ Get Certified - bit.ly/3WV9sXK
    ✔️ Data Science Tutorial: bit.ly/3O7KfGk
    ✔️ Data Analytics Tutorial: bit.ly/48MxVTU
    👉 Follow me
    LinkedIn - bit.ly/3C1CY4v
    Instagram - bit.ly/3z8Fg1d
    -------------------------------------------------------------------------------------------------------------
    ► Top Free Video Tutorials
    Python Tutorial (English)⭐️ • Learn Python in 2 Hour...
    Python Tutorial (Hindi)⭐️ • Python Full Course in ...
    Pandas Tutorial (English)⭐️ • Python Pandas Full Cou...
    Pandas Tutorial (Hindi)⭐️ • Python Pandas Tutorial...
    NumPy Tutorial (English)⭐️ • Master Python NumPy in...
    NumPy Tutorial (Hindi)⭐️ • Learn Python Numpy In ...
    Matplotlib Tutorial (English)⭐️ • Python Matplotlib Tuto...
    Matplotlib Tutorial (Hindi)⭐️ • Python Matplotlib Tuto...
    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/3VHaUvq
    Bootstrap Tutorial: • Bootstrap 5 Tutorial f...
    MySQL Workbench Tutorial: • MySQL Workbench Tutori...
    ► Programming - Free Study Material (Downloadable)
    Python ⭐️studyopedia.com/tutorials/pyt...
    Numpy ⭐️studyopedia.com/tutorials/numpy
    Pandas ⭐️studyopedia.com/tutorials/pandas
    Matplotlib ⭐️studyopedia.com/tutorials/mat...
    Java ⭐️studyopedia.com/tutorials/java
    C ⭐️studyopedia.com/tutorials/c-p...
    C++ ⭐️studyopedia.com/tutorials/cpp/
    C# ⭐️studyopedia.com/tutorials/csh...
    Numpy ⭐️studyopedia.com/tutorials/numpy
    Android ⭐️studyopedia.com/tutorials/and...
    R ⭐️studyopedia.com/tutorials/r-t...
    ► Web Dev - Free Study Material (Downloadable)
    HTML5 ⭐️studyopedia.com/tutorials/html5
    PHP ⭐️ studyopedia.com/tutorials/php
    Bootstrap⭐️studyopedia.com/tutorials/boo...
    JavaScript⭐️studyopedia.com/tutorials/jav...
    jQuery⭐️studyopedia.com/tutorials/jqu...
    ► Database - Free Study Material (Downloadable)
    SQL ⭐️studyopedia.com/tutorials/sql
    MySQL ⭐️studyopedia.com/tutorials/mysql
    MongoDB⭐️studyopedia.com/tutorials/mon...
    ► CMS - Free Study Material (Downloadable)
    WordPress ⭐️studyopedia.com/tutorials/wor...
    Joomla⭐️studyopedia.com/tutorials/joomla
    Drupal ⭐️studyopedia.com/tutorials/drupal
    Magento ⭐️studyopedia.com/tutorials/mag...
    ► Free Interview QA
    Python🔥studyopedia.com/java/java-int...
    Java 🔥studyopedia.com/python3/pytho...
    Android🔥studyopedia.com/android/andro...
    ReactJS🔥studyopedia.com/reactjs/react...
    Bootstrap 🔥studyopedia.com/bootstrap/boo...
    SQL 🔥studyopedia.com/sql/sql-inter...
    MongoDB 🔥studyopedia.com/mongodb/mongo...
    MySQL 🔥studyopedia.com/mysql/mysql-i...
    👉 About Amit Thinks UA-cam Channel
    I am Amit Diwan, a self-made Entrepreneur, running "Amit Thinks", a Tech UA-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

КОМЕНТАРІ • 112

  • @Amit.Thinks
    @Amit.Thinks  3 місяці тому +1

    🔥Free Java Tutorial: bit.ly/3dOeR0p

  • @hutoskaii
    @hutoskaii 15 днів тому +2

    do i need to do everything after this moment? (3:57) bcz i only need java script for minecraft mods

  • @user-bt4zs3hg6s
    @user-bt4zs3hg6s Місяць тому +1

    Thank you soo much sir! Ur way of explanation is truly amazing really helped me 🤗

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @ShabnamAhmed-ei1fs
    @ShabnamAhmed-ei1fs 23 дні тому

    You are excellent in explaining everything. Thanks a lot. Plz continue to do so.

    • @Amit.Thinks
      @Amit.Thinks  23 дні тому +1

      Thank you, I will. Get all our free courses:
      docs.google.com/document/d/1-QY5N2Cq2tjMbSMo1WPMKZ-ju2MnDWkF/

  • @user-ko9sn9fn7f
    @user-ko9sn9fn7f 2 місяці тому +3

    Amazing very straight forward and clear brother ! Thanks

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @-iq7uu
    @-iq7uu 21 день тому

    4:05, how do you add D drives and the other drives, on my computer, all I have is OS (c) is their a work around to this?

    • @Amit.Thinks
      @Amit.Thinks  21 день тому

      Go for C: Drive itself.
      You can also create other drives on your Windows system i.e. partitions: ua-cam.com/video/ES0Yt4zupeM/v-deo.html

  • @Jenniesdrawing
    @Jenniesdrawing 16 днів тому

    Thank you so much, sir🤩You're the best!

    • @Amit.Thinks
      @Amit.Thinks  16 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @ShakibRyhan
    @ShakibRyhan 2 місяці тому +1

    when i rename the extension as java, it does not show the type as java source file rather it shows java file. is it a problem? my net beans is not working.

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

    • @waheguruji760
      @waheguruji760 Місяць тому

      Its same mine as urs

  • @PranjaliPatil-ff8wf
    @PranjaliPatil-ff8wf 19 днів тому

    Thank you so much sir😊

    • @Amit.Thinks
      @Amit.Thinks  18 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @RamgiriRachaRayudu
    @RamgiriRachaRayudu 3 місяці тому +1

    Sir,may i know what is this environment variables and why we are creating path what is path

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      To avoid reaching the Java in path again and again to work with Java. On setting the Environment Variables, on CMD, you just need to add the command… that’s it. No need to reach the complete path on the command prompt.
      After installing, refer to our freeJava Tutorial: studyopedia.com/tutorials/java

  • @xiaojinaah
    @xiaojinaah 2 місяці тому +2

    idk why it keeps showing me an error like about the symbol near System.out.print1n like this im confused, I've never done java
    ^

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Correct: System.out.println
      Incorrect: System.out.print1n
      (You missed the letter l)
      - Verify: studyopedia.com/java/java-first-program/

    • @xiaojinaah
      @xiaojinaah 2 місяці тому

      @@Amit.Thinks oh! thank you

    • @xiaojinaah
      @xiaojinaah 2 місяці тому

      @@Amit.Thinks yah it worked! i wasnt adding the .java in the end of filename too my bad, im jus starting out

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому +1

      Ok, do check our new courses.
      Just launched👇
      Copilot Tutorial (English): ua-cam.com/video/Hzher7aCgMo/v-deo.html
      ChatGPT Tutorial (English): ua-cam.com/video/6E8tw6_4tMQ/v-deo.html

  • @abhishekitagimath1813
    @abhishekitagimath1813 29 днів тому

    Thank You Sir...!!!

    • @Amit.Thinks
      @Amit.Thinks  29 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @shivanshx
    @shivanshx 2 місяці тому

    It shows do you want to allow this device to make changes

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому +1

      Obvioualy, allow it. We have downloaded the official Java software from the official Java website, correct?

  • @arpitashrivastava7
    @arpitashrivastava7 Місяць тому

    Thankyou so much sirji i could not install in mac but successfully in window.

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Install Java on Mac: ua-cam.com/video/gENqw-O2kps/v-deo.html
      Refer to our free Java Tutorial: studyopedia.com/tutorials/java

    • @Amit.Thinks
      @Amit.Thinks  27 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @LordTengu
    @LordTengu Місяць тому

    7:17 at the dir step the file doesn't show up and when I try to compile it gives me an error message

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

  • @AGCreations7206
    @AGCreations7206 25 днів тому

    Thank you sir ❤

    • @Amit.Thinks
      @Amit.Thinks  25 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @acenawab
    @acenawab 2 місяці тому

    I am unable to create a txt file, so provide me a solution and what mistake iam doing

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

  • @Sana-2004
    @Sana-2004 Місяць тому

    The text document option on my laptop is not coming up. What to do then??

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

  • @augustoalmeida2586
    @augustoalmeida2586 24 дні тому

    great video!

    • @Amit.Thinks
      @Amit.Thinks  24 дні тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @joyy1502
    @joyy1502 20 днів тому

    When I'm trying to compile it shows an error thatidentifier expected .....what should I do?

    • @Amit.Thinks
      @Amit.Thinks  20 днів тому

      Take the code from here: studyopedia.com/java/java-first-program/
      (The above error suggest that the code wasn't written properly)

  • @KrishnaKitti-kq1by
    @KrishnaKitti-kq1by 3 місяці тому

    Thank you

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @sarthakpasalkar6738
    @sarthakpasalkar6738 3 місяці тому +2

    This only contains jdk how to install jre for this?

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      JRE isn't required: ua-cam.com/video/V6zni8ZpT6A/v-deo.html
      JDK comes with JRE

  • @aishwarya12731
    @aishwarya12731 15 днів тому

    Can we use vs code instead of notepad if yes how sir please tell me 🙏😁

    • @Amit.Thinks
      @Amit.Thinks  15 днів тому

      Follow the same for Java 22. 👇
      Run Java on VS Code: ua-cam.com/video/3J1tCS_te4o/v-deo.html

  • @Shaliniii786
    @Shaliniii786 9 днів тому

    Error: expected public static void main (String [ ]args

    • @Amit.Thinks
      @Amit.Thinks  9 днів тому

      Syntax error. Verify the code from here:
      studyopedia.com/java/java-first-program/

  • @atharva_1815
    @atharva_1815 24 дні тому

    Final Output is not coming sir i.e Amit Diwan .
    What should I do sir ??

  • @milanak2283
    @milanak2283 20 днів тому

    Sir after clicking download now the download page is not visible what should I do

    • @Amit.Thinks
      @Amit.Thinks  20 днів тому

      Change the web browser and try the same link

  • @sandhyakandi2872
    @sandhyakandi2872 Місяць тому

    I created a file called learn.java ,when I called it in cmd by javac learn.java , it is showing like file not found I followed the exact steps u told I got everything same like u , but I wasn't normal at here what I have done wrong

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

  • @thecreativekanha5181
    @thecreativekanha5181 21 день тому +1

    Can we run programs in d drive

    • @Amit.Thinks
      @Amit.Thinks  21 день тому

      Yes, create it in any drive.
      Also, refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @Sam-ek1ll
    @Sam-ek1ll Місяць тому

    if i dont have d drive sir? my pc only have c drive

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Use any drive if you are the admin of the system.

  • @user-bf9px5og2j
    @user-bf9px5og2j 12 днів тому

    Thanks

    • @Amit.Thinks
      @Amit.Thinks  12 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @jayshreegangadhare5974
    @jayshreegangadhare5974 3 місяці тому

    informative

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @ryancivic
    @ryancivic 27 днів тому

    i edge to your content :)

    • @Amit.Thinks
      @Amit.Thinks  27 днів тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @Leo_mag_Affen
    @Leo_mag_Affen Місяць тому

    i can't double click the system variables

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      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.

  • @fanfan5347
    @fanfan5347 2 місяці тому +1

    Sir when I try to make a new path it doesn't open and I can't make the new path, can you help?

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому +2

      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.

    • @fanfan5347
      @fanfan5347 2 місяці тому

      @@Amit.Thinks yep I pressed the wrong thing, now it's fixed, thanks

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      You're welcome. Refer:
      studyopedia.com/tutorials/java/

    • @the_curious_man
      @the_curious_man 2 місяці тому

      @@Amit.Thinks this comment and reply helped me......i was doing the same

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Great! Refer to our courses:
      studyopedia.com/training/

  • @koushikthulluru3908
    @koushikthulluru3908 25 днів тому

    new edit options are disabled for me sir!

    • @Amit.Thinks
      @Amit.Thinks  12 днів тому

      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.

  • @awmkingjagguvinay8847
    @awmkingjagguvinay8847 2 місяці тому

    D drive is not there in my pc

  • @Buhzi
    @Buhzi 2 місяці тому

    You angel

  • @indrachangdiya7830
    @indrachangdiya7830 Місяць тому

    at 3:13 path button is'nt working

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      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.

  • @midnightandsunnythebunnies6049
    @midnightandsunnythebunnies6049 Місяць тому

    at 4:01 is the installation complete?

  • @bhavanamveerareddy9209
    @bhavanamveerareddy9209 9 днів тому

    2:45 how to copy the path

  • @Thunderff_21
    @Thunderff_21 2 місяці тому

    sir new pe jaane ke baad only folder ka option aa rha h plz bta do kaise kru

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Means?

    • @Thunderff_21
      @Thunderff_21 2 місяці тому

      @@Amit.Thinks SIR JI JB APNE NEW FOLDER BNAYA TO USKE PICKE .txt wali extension lagayi but mere laptop me sirf whi folder file ka option aa rha h

    • @Thunderff_21
      @Thunderff_21 2 місяці тому

      txt lagane ka option nhi aa rha

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Got it.
      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

    • @Thunderff_21
      @Thunderff_21 2 місяці тому

      @@Amit.Thinks THANKS SIR HO GYA FIX

  • @amrutageet3200
    @amrutageet3200 Місяць тому

    Hi sir in my case. Txt file won't come

    • @Amit.Thinks
      @Amit.Thinks  Місяць тому

      Fix: ua-cam.com/video/V8WKDYDkg7Y/v-deo.html

  • @Visibily_dark
    @Visibily_dark 3 місяці тому

    Sir
    7:35 here , i created a file study.java in java folder of desktop. But problem is i can't see it in command prompt after ( dir) ,
    Then When i out JAVAC STUDY.JAVA it shows error,( *file not found:study java
    *Usage: havac
    *Use -- help for a list of possible options)
    What is going on i have no idea, help

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      Check this 👇
      Study.java
      or
      STUDY.JAVA
      or
      study.java
      Keep the cases the same as shown by me in the video and it will get fixed.

    • @Visibily_dark
      @Visibily_dark 3 місяці тому

      @@Amit.Thinks sir this study.java is file name , created by myself,
      When I call it after JAVAC File name , error occur as I mention above

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      Hi, First understand the difference....
      JAVAC STUDY.JAVA
      or
      javac study.java
      Both are different in Java.
      What is the file name? study, STUDY, or Study
      What is the class name? study, STUDY, or Study

    • @Visibily_dark
      @Visibily_dark 3 місяці тому

      ​@@Amit.Thinks ok sir that error was gone , after dir command Studyopedia.java is there.
      But now javac Studyopedia.java command is showing error,
      ( It point an error in 2 & 3rd row of code ' public static void main(string* [] args){
      & In ( system.*out.println("my name");
      Sir on string & . A small arrow is showing.

    • @Amit.Thinks
      @Amit.Thinks  3 місяці тому

      You still did not understood the case issue.
      👉string* [] args or String* [] args
      👉System or system (What did I write in the code?)
      Directly copy the code from here: studyopedia.com/java/java-first-program/

  • @Si_Cat
    @Si_Cat 2 місяці тому

    Thank you

    • @Amit.Thinks
      @Amit.Thinks  2 місяці тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java

  • @banitarani4839
    @banitarani4839 3 дні тому

    Thank you

    • @Amit.Thinks
      @Amit.Thinks  3 дні тому

      Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java