HOW TO USE JAVA IN VISUAL STUDIO CODE (MAC TUTORIAL) AND HELLOWORLD!

Поделиться
HTML-код
  • Опубликовано: 8 сен 2021
  • This video tutorial explains how you can write, compile, and run Java programs using Visual Studio Code. If you do not have VSCode installed yet, check out my previous video where I take you through the installation. Let me know if you have any questions and I will try my best to respond!

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

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

    I appreciate your quick Java tutorial on vscode. Thanks

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

    Great tutorial to get me started on java and VSCode. Would be great if you could continue this tutorial with some more examples in java.

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

    i was having problems with trying to activate the hello world script until i saw your video thank you so much

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

    Thanks a lot! That worked on my M1 MacBook Air

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

    Really helpful. Thanks!

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

    Thank you😊

  • @alan-williams-web
    @alan-williams-web Год назад

    Thank you. This is useful, I appreciate your efforts. Now I need to find code completion for VSCode. It would be useful to se your settings.json file.

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

    Thank you very much

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

    underrated

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

    Great vid. However, if I already had a file that says JDK, how do I input the tutorial file? Thanks

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

    Hi.. How can i have a clean Terminal like the one in this video..
    Here its showing path and other unwanted stuffs in terminal.. I need to have terminal like you got..
    Any solution??

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

    Thank you.

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

    Great tutorial and very helpful!

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

      Thank you! Please check out my other videos too 😊

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

    Simple as pie!

  • @yashbhaskar1099
    @yashbhaskar1099 2 года назад +2

    In the above program, when i type 'package com.company'. It give me error 'Error: Could not find or load main class HelloWorld'. Please Help
    Device = Macbook M1

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

      When you run “java HelloWorld” on your command line make sure it’s spelled correctly and has the correct casing! Did you name your file HelloWorld.java or helloWorld.java? This makes a difference. Let me know if you have more questions.

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

    Noise thankssssse

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

    thanks

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

    goodddd

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

    I have an issue while running a Java program. When executing the program, I always give "java Solution.java", i.e. ".java" extension otherwise the prompt I get is "Error: Could not find or load main class Solution
    Caused by: java.lang.NoClassDefFoundError: Solution (wrong name: assignments/que_3/Solution)". How do I solve this issue?

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

      Make sure the first argument is javac not java. It should be “javac Solution.java” to compile your program. Notice the “c” in the first argument. Then to run the program type “java Solution”. Let me know if that solves the problem.

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

      @@SyntaxWiz
      ~/Desktop/Alpha2.0/Topics/23 - Binary Trees/assignments/que_2
      ❯javac Solution.java
      ~/Desktop/Alpha2.0/Topics/23 - Binary Trees/assignments/que_2
      ❯ java Solution
      Error: Could not find or load main class Solution
      Caused by: java.lang.NoClassDefFoundError: Solution (wrong name: assignments/que_2/Solution)

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

    Nice video. However to me these steps seem easier to make on IntelliJ.

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

    👍