java : how to fix the error : java.lang.UnsupportedClassVersionError

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • how to fix the error Exception in thread “main” java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 when you want to run your java program?

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

  • @smitmachhi1111
    @smitmachhi1111 5 лет назад +34

    The new Java.exe file is in:
    C:\Program Files (x86)\Common Files\Oracle\Java\javapath

  • @jimtsiob6723
    @jimtsiob6723 4 года назад +6

    You solved an 8 month problem for me. Thanks mr Safaa.

    • @SafaaAlaa
      @SafaaAlaa  4 года назад

      glad to help you, thank you for your feedback.

  • @relx_zone1631
    @relx_zone1631 5 лет назад +9

    sir i don't have java.exe file in system32, plz help how to fix it.

  • @cuentacomprometida8492
    @cuentacomprometida8492 7 лет назад +12

    Sir, I dont have java.exe in system 32 and i really need to fix it.

  • @ravienne3156
    @ravienne3156 4 года назад +3

    Thank you so much, I read so many articles and I didn't understand them. Your explanation was so clear and fixed my problem.

    • @SafaaAlaa
      @SafaaAlaa  4 года назад

      Glad to help you, thank you for your feedback

  • @brandonadiele4247
    @brandonadiele4247 4 года назад +3

    This fixed my issue! Thank you so much for making such a clear and concise video!

  • @facundosanchez9086
    @facundosanchez9086 4 года назад +2

    THAAAAAAAAAAAANK YOUUUUUUUUUUUUUUU, now I can keep learning my online class

  • @batacube2995
    @batacube2995 Год назад +1

    I don't have java.exe file in System32. What I should to do?

  • @ralphanthonyenriquez7480
    @ralphanthonyenriquez7480 3 года назад +1

    Wow it worked! Thank you very much. I have done reinstalling the jdk, SE everything but your tutorial works

  • @noobyshadow
    @noobyshadow 2 года назад

    ive been looking everywhere now im looking here and watching and seeing if this will fix the problem if it will ty :)

  • @schill8406
    @schill8406 2 года назад

    I wished I found this sooner, it works like a charm!!! Thank you so much!!!

  • @arix5402
    @arix5402 4 года назад +1

    in my case it still doesn't work, because javac -version it was 14.0.1 and java -version was 1.8.0_112 so i copy file java.exe from sdk-14.0.1 and now its work (this is for people with the same problem)

    • @rebeccaamery7128
      @rebeccaamery7128 4 года назад

      You're a freakin' legend - thank you so much!

  • @analuizawho
    @analuizawho 8 месяцев назад

    thank you so so so much, i was struggling with this problem for about 2 weeks

  • @soleyhalldors3717
    @soleyhalldors3717 6 лет назад +6

    Uh I have Linux... help

  • @kethakianjana5710
    @kethakianjana5710 2 года назад

    This error comes to me with android sdk and i fixed it according to this video thanks alot for ur guidance... thank u very much again n again

  • @orbyfied
    @orbyfied 4 года назад +2

    i dont have "javac" as a program but i can still run it through intellij

  • @valerie215
    @valerie215 5 лет назад

    thank you!!!!! i searched everywhere for this answer! i am so grateful for your video!

  • @spe3dy744
    @spe3dy744 4 года назад +1

    I spent over 2 hours looking for a fix and it turns out all I have to do is rename one file. Gotta love coding.

  • @jeyapriya6124
    @jeyapriya6124 2 года назад +1

    Sir how can we change javaC to new version... U change java to old version but i need javaC to new version.. Plz tell.

  • @sagorsultan8694
    @sagorsultan8694 5 лет назад +2

    thanks a lot sir I was struggling through this issue for 3 days thanks a lot again great video.

    • @SafaaAlaa
      @SafaaAlaa  5 лет назад

      glad to help you
      thank you for your feedback.

    • @fahlaparappan9390
      @fahlaparappan9390 5 лет назад

      I cannot find java.exe in system 32

  • @anandpandey8876
    @anandpandey8876 7 лет назад +7

    sir i dont have java.exe file in system32 what should i do now

    • @ssuuhhdduuddee7354
      @ssuuhhdduuddee7354 6 лет назад +1

      Anand Pandey same man did you fix it

    • @marceloescare3618
      @marceloescare3618 5 лет назад +1

      ​@@ssuuhhdduuddee7354 just change the name of "java.exe" to "java.old.exe". It doesn't matter if you have it in system32.

  • @user-fw9pg9lu2i
    @user-fw9pg9lu2i 11 месяцев назад

    >javac -version
    javac 20.0.2
    >java -version
    java version "20.0.2" 2023-07-18
    Java(TM) SE Runtime Environment (build 20.0.2+9-78)
    Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing) -- Still having same error java.lang.UnsupportedClassVersionError

  • @harini1059
    @harini1059 5 лет назад +3

    Thank you so much! I've been trying to get the solution for over a month. Every page I've visited didn't help me. This video did.
    But how did it change just by renaming java.exe to java.old.exe specifically? Could you please explain?

    • @SafaaAlaa
      @SafaaAlaa  5 лет назад

      glad to help
      this is happening due to having two versions of java player "java.exe"
      by default windows 10 needs java player to run some services on the web
      and you as a programmer needs jdk which include java player as well so there will be a collision between the two...

    • @fahlaparappan9390
      @fahlaparappan9390 5 лет назад +3

      I cannot find java.exe in system 32

  • @sijiahou1228
    @sijiahou1228 Год назад

    How to fix this on MacOS? My javac version is 1.8.0_271 and my java version is 1.8.0_333

  • @jonerfernandopatricioizqui9648
    @jonerfernandopatricioizqui9648 3 года назад

    java.lang.unsupportedoperationexception not supported yet. .............How can I solve this error?

  • @pradeephatekar6631
    @pradeephatekar6631 4 года назад

    Great! I was stuck with this since many days. Thanks

  • @siketermias
    @siketermias 2 года назад +1

    you should write this steps in google
    I tried and read so many articles but they only confuse me tnxs man

  • @rabinbista7080
    @rabinbista7080 4 года назад +2

    It didn't work 😣😣

  • @MegaArti2000
    @MegaArti2000 4 года назад +1

    thx a lot man. im a ubuntu user but that was a lot helpful

  • @anurag2010ish
    @anurag2010ish 7 лет назад

    What should we do in case of vice-versa?

  • @prashantbhardwaj7823
    @prashantbhardwaj7823 Год назад

    java.exe not found what should i do please help

  • @LordOfWizardurl
    @LordOfWizardurl 4 года назад +1

    Thanks for the clear explaination

  • @Xynful
    @Xynful 5 лет назад +1

    Turns out that I just needed to install the jdk .exe file /fp. The tutorial I watched (on how to start using Java) just downloaded it and didn't install so I just downloaded it and didn't instal /fp.

  • @mohammaddib6852
    @mohammaddib6852 Год назад

    hi i cannot find java.exe in system32 file >>> What should i do ? and the javac 1.8.0_152 but java version "1.8.0_361"

  • @deepalinayak9353
    @deepalinayak9353 3 года назад

    When I type javac -version it shows jdk 16 but when I type java -version it shows 1.8. ... something also I can't find java.exe neither in the common files nor in the system partition I can find java,javaw,javaws .... that's it and nothing else

  • @achillestephane53
    @achillestephane53 Год назад

    Thank you M Safaa. What about ubuntu, please ?

  • @MictantecutliElmek
    @MictantecutliElmek 5 лет назад

    Hi, how is it possible I have a javac 12.0.2 version? It even doesn't remain 1.8.0_221. I had rename all java.exe files but still both version are different. Pls help

  • @yourmommagay4407
    @yourmommagay4407 4 года назад +1

    I can’t even find java.exe in my computer

  • @falakshah1949
    @falakshah1949 6 лет назад

    my javac -version command is not working, please help.

  • @jhamnoursarip9863
    @jhamnoursarip9863 5 лет назад +1

    THANK YOU FOR THIS VIDEO IT FIXED MY PROBLEM KUDDOS

  • @user-jo8kw8un6w
    @user-jo8kw8un6w 3 года назад

    Thanks A lot for the help Keep it up. May god bless you.

  • @prajwalpandeshwar9967
    @prajwalpandeshwar9967 5 лет назад

    I found the java.exe application in C: -> Program Data -> Oracle -> Java ->javapath, even you'll have java.exe in your pc somewhere find it and change it to java.old.exe

  • @kylenathan4131
    @kylenathan4131 4 года назад

    You deserve a like, thank you so much!

  • @Wilson012
    @Wilson012 2 года назад

    Great! Can be fixed the issue. Thank you so much

  • @alphabandit133
    @alphabandit133 Год назад

    im using windows 11 and I cant find the java.exe in my system32 folder anyone know why?

  • @nagulshareefshaik322
    @nagulshareefshaik322 2 года назад

    Sir, thanks a lot you resolve my problem

  • @HusseinAlghazal
    @HusseinAlghazal 4 года назад +1

    for me I found it in C:\ProgramData\Oracle\Java\javapath\ good luck :)

  • @samermorazan2413
    @samermorazan2413 4 года назад +1

    excellent, I solve my problem.

  • @rargza9169
    @rargza9169 3 года назад +1

    YES! Thank you!

  • @aileenk7649
    @aileenk7649 4 года назад

    Thank you for your video. It helps so much.

  • @007Mrdaniel
    @007Mrdaniel 4 года назад

    How to fix this problem in linux?

  • @narukulaanjikumar6001
    @narukulaanjikumar6001 Год назад

    Java.exe not showing

  • @Yelnats101
    @Yelnats101 2 года назад

    mine is just like urs, looks the same,, same error tho

  • @sarcastic_kanyaa5228
    @sarcastic_kanyaa5228 6 лет назад

    can't understand how to remove that error

  • @AK1770
    @AK1770 3 года назад +1

    thanks so much

  • @AchariBaiganKaBhai
    @AchariBaiganKaBhai 2 года назад

    a really really reallly big thankx to you broooooooo love youuuuuuuuuuuuu

  • @qManiekp
    @qManiekp 3 года назад

    javac doesn't work

  • @madmer
    @madmer Год назад

    THANK YOU!

  • @sebastianperez1670
    @sebastianperez1670 4 года назад

    I REALLY LOVE YOU SO MUCH!

  • @subhanansar8383
    @subhanansar8383 2 года назад

    This fixed my issue
    Thank you

  • @Monol1th2112
    @Monol1th2112 3 года назад

    Omg. It worked! Thank's ALOT

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

    Thank you!!!

  • @agilsatria3883
    @agilsatria3883 4 года назад

    how about ubuntu ?
    please

  • @jumpre
    @jumpre 7 лет назад +1

    Thank you!

  • @ChetanRawattunein
    @ChetanRawattunein 3 года назад +1

    Worked , thanks mate

  • @consume94
    @consume94 4 года назад

    GOD is that you

  • @TuanNguyenMinh-e5m
    @TuanNguyenMinh-e5m Месяц назад

    thank you so much , I can fix it

  • @durrium
    @durrium 4 года назад

    Good tutorial, sadly nothing changed at all

  • @simonhalljrgensen3119
    @simonhalljrgensen3119 3 года назад

    Thank you so much!

  • @Unknown-pz4hl
    @Unknown-pz4hl 3 года назад

    Thanks

  • @DuffkaBigNerd
    @DuffkaBigNerd 3 года назад

    Thanks mate!

  • @vsvishnusen
    @vsvishnusen 2 года назад

    Thank you so much ❤️

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

    Obrigado men. thank you man

  • @XtremClanchannel
    @XtremClanchannel 4 года назад

    Awesome!

  • @arpitagrawal8530
    @arpitagrawal8530 Год назад

    Disciplined

  • @PranathNaik
    @PranathNaik 3 года назад

    thank you

  • @sarvjeetrawat7719
    @sarvjeetrawat7719 4 года назад +1

    thank you man

  • @kryptontrolls8286
    @kryptontrolls8286 4 года назад

    thankyou so much

  • @dumovo
    @dumovo Год назад

    nice men

  • @markifive
    @markifive 3 года назад

    Man ! Thanks !!!

  • @benamarabouchra6368
    @benamarabouchra6368 Год назад

    Thank yooooooooooooooooooooooou

  • @stew2171
    @stew2171 4 года назад

    THANK YOU

  • @KilluaYT444
    @KilluaYT444 Месяц назад

    ty broooooo❤❤❤❤

  • @vlova
    @vlova 4 года назад

    Ty dude

  • @oussamaelfekkaki156
    @oussamaelfekkaki156 5 лет назад +3

    C:\ProgramData\Oracle\Java\javapath

    • @yeguacelestial8304
      @yeguacelestial8304 5 лет назад

      holy shit this answer is infravalorated, thank you so much!!

  • @luisfelipejg
    @luisfelipejg 3 года назад

    Thanks so much, you really help me¡¡¡¡¡¡¡

  • @ronthiery3857
    @ronthiery3857 5 лет назад +1

    thanks!

  • @yarajarlalakshmivenkatanag2464
    @yarajarlalakshmivenkatanag2464 5 лет назад

    Tq very much

  • @cesara.mayora2414
    @cesara.mayora2414 5 лет назад

    u r awesome

  • @masteryii213
    @masteryii213 4 года назад

    thanks mate

  • @meenuhembrom165
    @meenuhembrom165 4 года назад

    Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;i am using selenium webdriver its throwing please help me out .

  • @NoBody-rk5dl
    @NoBody-rk5dl 6 лет назад

    thx

  • @OzSoft
    @OzSoft 4 года назад +1

    it's works thanks

  • @ahmedabo_elmagd3199
    @ahmedabo_elmagd3199 4 года назад

    for(long i=0;i=infinity;i++){System.out.ptintln(thanks);}

  • @jaimemolina531
    @jaimemolina531 3 года назад

    thx! it worked

  • @darijus4094
    @darijus4094 5 лет назад

    it worked yay

  • @sebastianosornobonilla5453
    @sebastianosornobonilla5453 6 лет назад

    suprimir java jr7 64Bits solution!!!

  • @anaklyppel6302
    @anaklyppel6302 5 лет назад +2

    Thank you , your video help me so much!

  • @Will-gd9yz
    @Will-gd9yz 5 лет назад

    Thanks