How to Run Java in Visual Studio Code on Mac OS 2020

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • Run Java program in visual studio code on macOS
    Hey, guys in this video I'm going to show you how you can configure visual studio code (#vscode) to run JAVA programs on #mac OS (operating system) visual studio code java and I'm also gonna show you how you can run two sample user input program on #vscode_java java in vscode
    JDK Download Link - bit.ly/jdk_techdecode
    Visual Studio Code Download Link - bit.ly/vscode_techdecode
    Time Stamp
    0:00 - Introduction
    0:34 - How to download JDK on mac Big Sur
    1:43 - How to install JDK (Java Development Kit) on Mac Catalina
    2:40 - How to Check Java version on Mac
    3:25 - How to download visual studio code on Mac Big Sur
    4:17 - How to install visual studio code on Mac Catalina
    4:46 - How to setup visual studio code for running JAVA programs using Java Extension Pack
    5:29 - Create your first Java program in visual studio code
    6:01 - How to run java program in vscode
    6:30 - Create read input Java program in vscode
    7:04 - Run Java program that takes input from the user in visual studio code
    7:33 - Subscribe - bit.ly/2OH9Jv5
    My name is Yogendra Singh and on this channel ​ @Tech Decode , I show you how you can easily download and install any programming language compiler vs interpreter and #programming hub for learning the latest programming language.
    Consider subscribing for best ide and coding bootcamp.
    Subscribe : bit.ly/2OH9Jv5
    Take your career to the next level. Learn to code today from the leader in online tech education: bit.ly/learntwocode
    If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)
    Music- Victory by BGMUSIK • BG Musik - Victory
  • ХоббиХобби

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

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

    love this voice and tempo of the tutorial. thank you!

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

    thank you so much i've been searching for hours

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

    very clear tutorial. Thank you so much, I can finally code on my macbook now.

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

    Thanks, working perfectly!

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

    Thanks for the help! Really useful :))

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

    Thank you brother, nice video and clear explanations.

  • @antonelladelloca5852
    @antonelladelloca5852 7 дней назад

    loved this! helped me use Visual Studio Code, thank you!

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

    Thanks thank you very much ❤❤
    I almost gave up on coding in mac after watching so many stupid videos but this one was the one that worked
    Respect

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

    Thanks man for the complete steps. This was really helpful

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

    thank you, its very help ful 😊

  • @AdityaGupta-bq2jd
    @AdityaGupta-bq2jd 3 года назад +2

    extremely helpful video! short and to the point

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

      Welcome 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

  • @hellothiah
    @hellothiah 2 года назад +3

    Thank you for the tutorial! I had a question: in the terminal, is there any way to hide the file information (name of macbook, folder information, etc) so it just shows what what is inside the quotation marks?

  • @CalienteFrijoles
    @CalienteFrijoles Год назад +2

    I wish I had found your video at the start of this semester. I didn’t have anyway of practicing Java on my Mac and had to rely on my brother bringing his Windows PC on an irregular schedule until today. I feel way more at easy knowing I’ll be able to fully learn the language now. Many thanks, Tech Decode.

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

      Is it compulsory to download Java development kit
      Not by just download Java in vs code ??

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

    thanks man for this video

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

    Thank you very much, you are the best :)

  • @user-pk6hw8dq8i
    @user-pk6hw8dq8i Год назад

    thank you man you are awesome

  • @Buzzybuddies_Show
    @Buzzybuddies_Show 14 дней назад

    tq bro this video is vey helpful

  • @alicewu6674
    @alicewu6674 2 года назад +7

    Thank you so much sir for this great tutoriall!! I literally lose myself when trying to download vscode during my first java class and the instructor is so unclear about everthing except telling us to find TA. I was struggling and found your tutorial. This is really life saving and thank you for your patient and detailed explanation!! Really Appreciate it!

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

      You are most welcome 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

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

    thank you it's working

  • @adrielsoren2904
    @adrielsoren2904 Год назад +2

    Simple and Clear Thanks! A lot Sr.

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

    thank you so much god bless brother

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

    Thank you so much. You made it look easy

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

      You're welcome! 😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : bit.ly/2OH9Jv5

  • @well_done_myboy
    @well_done_myboy 3 года назад +2

    Really Helpful....I always wanted something like this🔥

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

    Thanks buddy. It worked for me. Saved my day. Thanks. Keep up the good work

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

      You're welcome! 😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : bit.ly/2OH9Jv5

  • @asspam-zz4ze
    @asspam-zz4ze 3 месяца назад

    Thanks a lott !!!

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

    very useful video thank you friend

  • @chetnasingh5404
    @chetnasingh5404 3 года назад +2

    Finally something that worked 100%. You are a savior. Thank you so much

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

    Helpful bro❤️

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

    thank you for ur information

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

    100% working. Thanks for the complete setup tutorial

  • @rahulkumawat-ow5bx
    @rahulkumawat-ow5bx Месяц назад

    bro thanks very much 🥰

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

    thank you for your help, it really saved me a big amount of time

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

    thank you!!!

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

    Thank a lot, this is very helpful

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

      Glad it was helpful!😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : rebrand.ly/FreeSubscription

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

    Astonishig. Well done!

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

      You're welcome! 😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : bit.ly/2OH9Jv5

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

    Thank you brother, nice video and clear explanations. Keep up the good work. Suscribed and liked the video.

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

      Welcome 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

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

    Awesome, followed the tutorial on M1 MacBook and works perfectly fine. thank you

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

      Great to hear! 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

  • @ObitoUchiha-cj3mx
    @ObitoUchiha-cj3mx 2 года назад +1

    Very nice guide, thank you! It had completely worked on my Mac. Also I like your voice and accent because it is very similar as Gustavo Fring's voice and accent from Breaking Bad. mb I'll even subscribe, will see...

  • @Jahdhenne69967
    @Jahdhenne69967 3 года назад +6

    Works 100% and also good video, very clear and clean. This dude needs more attention!

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

    thank you very much. it helped a lot.

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

      You're welcome! 😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : bit.ly/2OH9Jv5

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

    You are a genius ❤️👍

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

    This is so helpful🙏🏻so many videos I’ve checked for this ….but most of the people are downloading so many apps and all ,and yes it’s too confusing.
    But u just did want I want ,Thankyou

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

      Glad it was helpful! 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

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

    Thanks . I did it.

  • @sujjisinghrajwar
    @sujjisinghrajwar 3 года назад +6

    Thank you so much, you saved my ass in CS class😂

  • @ameralmonajed8392
    @ameralmonajed8392 Год назад +2

    Thank you so much sir for this great tutorial, Works 100% and also good video, very clear

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

      You are welcome 😇
      👉 Udemy Java Programming Masterclass - bit.ly/JavaProgramCourse

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

    Do I need to install JDK separately even after installing command-line tools?

  • @user-mo3mi5gr3o
    @user-mo3mi5gr3o 5 месяцев назад

    Thank you sir❤❤❤❤

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

    It really took 6-7 minutes for setting up the environment......really helpful video....keep up the good work

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

      Glad it helped 😇
      I Have a bonus for YOU 🎁
      👉 Free Java Programming Masterclass - skillshare.eqcm.net/FreeJavaProgrammingCourse
      It's Free for 1 Month 🆓

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

    Thank you bro

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

    thank you ❤

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

    Thank you 🙏 its working 👍

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

    Thank you

  • @mahmudulhasan5736
    @mahmudulhasan5736 3 года назад +9

    If you can't take input from the console, then go to settings( [command]+ "," )> Extension> Run Code Configuration then scroll down and enable "Run in Terminal" and then restart the Code window.

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

    thank you

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

    great video

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

    great stuff.picture perfect

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

    Thanks bro

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

    Can u tell me how to update jdk on mac ?I already have java version 16 but how to check if any updates came or not.

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

    Works for Java 17 also, nice

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

    Thank you!

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

    I saw some videos saying that java home needs to be installed. do we need to install it?

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

    Thank You ☺️❤️

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

    can someone tell me why i have done my code and my vscode layout right side doesnt show the run triangle

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

    Hei man, tks!

  • @desire-firminlalissini9456
    @desire-firminlalissini9456 Год назад

    Hello ! I hava installed java as you did but the versions 19, and 17 on the site. I installed the package, but when i type " java --version" on the terminal, I receive this "No Java runtime present, requesting install" and I'm redirected toward the site. Could you please tell me about this ?

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

    can anyone share a google drive jdk file I must create an account on oracle??

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

    mine shows an error when I write the program i.e main method not found in the file, please define the main method as: public static void main(string[] args). I don't think I've done anything wrong in the procedure given by you. please if anyone can help, I'll be very grateful.

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

    Thank you so much...

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

      You're most welcome 😇 👉 Don't forget to check our website for more Java tutorials : techdecodetutorials.com/category/java/javaprogram/

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

    please make video on mysql jdbc with java project in vscode.

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

    Sir thank you so much love from India ❤️😀👍

  • @user-yc4wt4dg8k
    @user-yc4wt4dg8k Год назад

    what if we dont do the terminal thing and directly install the vs code thing, i got it by your steps..

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

    I am unable to find the extension pack. what should I do??

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

    tanks

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

    I cant run the program. It says to update the Java Extension. When I click that warning, I cant see any option to update. I would really appreciate the help.

  • @nikhil.1481
    @nikhil.1481 2 года назад

    . how to solve Java file is non project file error

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

    Works great August 31st, 2022

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

    Any shortcut to run ? (not debug)

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

    thanks
    mr indian man \

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

    I seem to be having some problems, after I save the file as a .java it automatically sets up the public class Information but has errors at the bottom in th problems section and read this. "setup1.java is a non-project file, only syntax errors are reported" everything was installed correctly too. Any Ideas for what might be wrong?

  • @Himanshu-yb9kz
    @Himanshu-yb9kz 3 года назад +1

    It's 100% working... 😍😍😍😍

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

    Working👨‍💻

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

    Help needed, when I put java --version in the terminal it showed me an error "Error: dl failure on line 558
    Error: failed /Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/lib/server/libjvm.dylib, because dlopen(/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/lib/server/libjvm.dylib, 10): no suitable image found. Did find:
    /Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/lib/server/libjvm.dylib: code signature invalid for '/Library/Java/JavaVirtualMachines/jdk-15.0.2.jdk/Contents/Home/lib/server/libjvm.dylib'"
    What should I do? this is really confusing. Please let me know.

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

      This might help : stackoverflow.com/questions/60868198/error-when-trying-to-run-java-related-commands-on-macos

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

    sir error occured while running the program it says that main method not found in the file please define the main method as: public static void main(String[] args)

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

      Try saving then running program

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

    🔥🔥🔥🔥🔥

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

    100% working

  • @TechDecode
    @TechDecode  3 года назад +2

    👉 Udemy Java Programming Masterclass - bit.ly/JavaProgramCourse
    JDK Download Link - bit.ly/jdk_techdecode
    Visual Studio Code Download Link - bit.ly/vscode_techdecode
    Subscribe - bit.ly/2OH9Jv5
    Take your career to the next level. Learn to code today from the leader in online tech education - bit.ly/learntwocode
    If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)

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

    here your class name should be same as your file name as suggested in video else you will get error

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

    Vs code suddenly stopped working after installing Mac OS big sur (on every program it shows error of Java.Lang /errors) can somebody help me

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

      You need to reinstall vscode with java extension pack.

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

      @tech decode I already did but it doesn’t work and I think I have to downgrade to catelina

  • @AvinashKumar-ny9le
    @AvinashKumar-ny9le 2 года назад

    RUN button doesn't work suggest me how it will work??

  • @Nono-ry3lp
    @Nono-ry3lp 2 года назад

    Internetsite doesn't work

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

    Is this works in M1 Mac's ?

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

      Yes

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

      @@TechDecode woow so fast reply Thank you so much 😍

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

    taking too long to install java extension pack

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

    While running the code it is showing
    Main method not found in the file please define the main method

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

      Don't forget to save your program before running the code

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

      @@TechDecode where to save totally confused?

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

      You can save it on desktop

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

      @@TechDecode still not working
      Please help

  • @AmanSharma-ym8jx
    @AmanSharma-ym8jx 3 года назад +1

    100% Working on M1 Macbook Air.

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

      You're welcome! 😇
      Java Programming Masterclass - bit.ly/JavaProgramCourse
      Subscribe : bit.ly/2OH9Jv5

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

    dosent work

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

    Too fast