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

Комментарии • 111

  • @CSCORNERSunitaRai
    @CSCORNERSunitaRai  11 месяцев назад +5

    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!

  • @eurobeat5332
    @eurobeat5332 2 месяца назад +1

    thank you indian ma'am i found on youtube, now i can play my minecraft mods, i wish you goodluck

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  2 месяца назад

      You're welcome👍 please subscribe

    • @BucketsGaming-xb5up
      @BucketsGaming-xb5up 2 месяца назад +1

      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

  • @jaganmohanreddypenumuru6834
    @jaganmohanreddypenumuru6834 9 месяцев назад +3

    Very nice explation. Thank You a lot.

  • @MCA_vlog_bala
    @MCA_vlog_bala 11 месяцев назад +4

    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

  • @SPatil-sb3vi
    @SPatil-sb3vi 10 месяцев назад +2

    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.

  • @user-vd3tk9tc2u
    @user-vd3tk9tc2u 10 месяцев назад +3

    Thank you ma'am ❤

  • @sallatirumala2330
    @sallatirumala2330 10 месяцев назад +2

    Thank you for sharing this video it's helpful to me

  • @mahekscreativity07
    @mahekscreativity07 6 месяцев назад +2

    Hey mam!
    Where do I find "command prompt"???

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  6 месяцев назад +1

      In search type cmd

    • @mahekscreativity07
      @mahekscreativity07 6 месяцев назад +1

      @@CSCORNERSunitaRai A BIG THANK TO YOU MAM!!
      I've done it successfully....!!
      Good wishes for you!

  • @wolfyboy
    @wolfyboy 7 месяцев назад +3

    i'm assuming i don't have to write "system.out.println("Thanks for watching!!"); for it to work, right?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  7 месяцев назад +1

      If u want to print something then write this

    • @Quotesandfacts1
      @Quotesandfacts1 6 месяцев назад

      Error
      s is small s should be capital

  • @TheRealF6
    @TheRealF6 10 месяцев назад +1

    Thanks a lot!

  • @Praveenkumar-kj6tv
    @Praveenkumar-kj6tv 8 месяцев назад +2

    Mam system variables is not showing that New,Edit, Delete options 😢

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  7 месяцев назад

      Try this video
      ruclips.net/video/u5NsHGKZ8oo/видео.htmlsi=q_W7o1QFs5apkTpn

  • @mikumiku-xj5lp
    @mikumiku-xj5lp 9 месяцев назад +1

    this is great thank youu

  • @suhailkhan-er5dp
    @suhailkhan-er5dp 10 месяцев назад +1

    Great mam

  • @Sajitha_Alisheik
    @Sajitha_Alisheik 6 месяцев назад +1

    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

  • @delvarisreginald5781
    @delvarisreginald5781 8 месяцев назад +1

    I just installed Java on my computer, but I only see "Reference Documentation."
    What can I do in this particular situation?

  • @Anonymous-ck5bx
    @Anonymous-ck5bx 9 месяцев назад +1

    its installation pop up box is not appearing on the screen after downloading and running jdk...

  • @csgyan812
    @csgyan812 11 месяцев назад +1

    Thank you for this video

  • @tejaswaghulde8285
    @tejaswaghulde8285 7 месяцев назад +1

    Error: Could not find or load main class hi
    Caused by: java.lang.ClassNotFoundException: hi
    getting error done every step correctly!!

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  7 месяцев назад +1

      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

  • @santhosh-se5vr
    @santhosh-se5vr 11 месяцев назад +1

    Thanks Mam it helps a lot

  • @NancyEwulonu
    @NancyEwulonu 5 месяцев назад +1

    Thanks

  • @user-jz7co6wg2p
    @user-jz7co6wg2p 9 месяцев назад +1

    Thank you

  • @vishvjeet1551
    @vishvjeet1551 7 месяцев назад +1

    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  7 месяцев назад +1

      did u set path of java in environmental variable?

    • @vishvjeet1551
      @vishvjeet1551 7 месяцев назад

      @@CSCORNERSunitaRai thank you mam your video solved my problem ❤️👍🏻.

  • @Sahil_Kumar431
    @Sahil_Kumar431 9 месяцев назад +1

    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

  • @sonanandagawali1373
    @sonanandagawali1373 4 месяца назад +1

    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
      ruclips.net/video/u5NsHGKZ8oo/видео.htmlsi=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

  • @ravinagahlyan2053
    @ravinagahlyan2053 10 месяцев назад +1

    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  10 месяцев назад

      U need to open cmd from same directory where U hv saved your pgm

  • @smile1238
    @smile1238 9 месяцев назад +1

    Am facing issues internet open in java jdk 8 u 21 not showing kindly help

  • @chintansavaliya523
    @chintansavaliya523 8 месяцев назад +1

    Java version is not recognised as internal or external serval error

  • @NSASANAPURIKAVYASRI
    @NSASANAPURIKAVYASRI 11 месяцев назад +1

    thank you mam.

  • @potatopie4954
    @potatopie4954 10 месяцев назад +1

    It says error: cannot find symbol System.out.printIn("text");

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Can U send me whole code screenshots on my telegram and how U r compiling

  • @sindhu6493
    @sindhu6493 11 месяцев назад +2

    I am getting error at cmd code

  • @D4xvi
    @D4xvi 6 месяцев назад +1

    It says “Error: Could not find or load main class HelloWorld” at cmd😭

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  6 месяцев назад

      Check class name and file name. It should be the same. Also open cmd from path where u hv saved java file

    • @Neswanth0402
      @Neswanth0402 6 месяцев назад

      View change name of the file from.txt to .java another option allfiles

    • @D4xvi
      @D4xvi 6 месяцев назад

      @@CSCORNERSunitaRai it’s the same and I did open cmd from there 😭

  • @malomaniac936
    @malomaniac936 10 месяцев назад +1

    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/

  • @taetae9375
    @taetae9375 7 месяцев назад +1

    Hello mam
    How to fix the issue for file not found?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  7 месяцев назад +1

      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

  • @antonysmechery8787
    @antonysmechery8787 10 месяцев назад +1

    Mam i can't edit path in system variable..😢

  • @viralvideoph1209
    @viralvideoph1209 10 месяцев назад +2

    File not found. How to fix this?

    • @taetae9375
      @taetae9375 7 месяцев назад +1

      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

  • @suryarebel9979
    @suryarebel9979 10 месяцев назад +1

    Mam i cannot edit path in system variable it looks like dull edit button

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Did you logged in as admin?

    • @suryarebel9979
      @suryarebel9979 10 месяцев назад

      @@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 9 месяцев назад

      @@CSCORNERSunitaRai how do i log in as admin ma'am

  • @vy-mz1xh
    @vy-mz1xh 10 месяцев назад +1

    I dont have the Path variable ?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад +1

      You can create by clicking on the new button.
      Provide name as path and value as installation location of jdk\bin

  • @albinbabela9050
    @albinbabela9050 11 месяцев назад +1

    🤝 Thank you for your sharing...

  • @Electric_Fusion
    @Electric_Fusion 7 месяцев назад +1

    it said 69 comments nice

  • @TECHVETS
    @TECHVETS 2 месяца назад

    Madam can we run java 32bit on windows 64bit platform?

  • @daffodils2706
    @daffodils2706 10 месяцев назад +1

    Mam I am unable to use snippet code such as syso for system. out. println what is the solution mam please

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Which ide U r using?
      It differs from ide to ide

    • @daffodils2706
      @daffodils2706 10 месяцев назад +1

      Mam jdk 20 visual studio code

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      @@daffodils2706 video is already available on my channel

  • @abdurrauf.1
    @abdurrauf.1 11 месяцев назад +1

    why you install x64 MSI?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 месяцев назад

      It's installer for the 64-bit version of Windows

  • @balimenipoojitha2866
    @balimenipoojitha2866 2 месяца назад

    Mam there's An error: file not found in cmd

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  2 месяца назад

      Check your file name.
      Also follow video once again

  • @lakshmiprasanna7560
    @lakshmiprasanna7560 10 месяцев назад +1

    Can I download this in 32 bit laptop

  • @JaiminPanchal-tp3yb
    @JaiminPanchal-tp3yb 6 месяцев назад +1

    Plzzz send me aa download link

  • @sandhyarani362
    @sandhyarani362 6 месяцев назад

    sir its not working sir in windows 11

  • @salO1747
    @salO1747 4 месяца назад

    tu cuilo es mio

  • @sumathi.p4689
    @sumathi.p4689 9 месяцев назад +1

    Thank you