How to run Java Programs on Visual Studio Code on 32 bit and 64 bit Windows 11/10/8/7 computer. 2022

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • Hello and Welcome to my channel! I'm CA and today I am going to show you how to write and run Java programs on Visual Studio Code. This video is going to work for older computers as well which run Windows 7 with 32 bit architecture, and undoubtedly on latest computers as well which have 64 bit architecture.
    So watch this video till end and don't skip in between!!.
    Important Links:
    ► Install Visual Studio Code:- • Download and Install l...
    ► Run C++ on VSCode:- • How to run C++ program...
    ► Visual Studio Playlist :-
    ► Install Jupyter Notebook on Computer:- bit.ly/32rvntS​
    ► Visit my Blog:- bit.ly/3eax04I​
    ► Windows 10:- bit.ly/3stSb79​
    ► Follow me on Instagram:- bit.ly/3tww01f​
    ► Install MySQL :- • How to install MySQL t...
    ► Learn SQL :- bit.ly/3uv6r29
    ► Reset MySQL password :- • Reset your MySQL passw...
    ► Don't Click!!! - bit.ly/3an6a8n​
    Timestamps:
    00:00-00:37 | Introduction
    00:38-01:33 | JDK for latest computers
    01:34-02:54 | Java 8 for all computers
    02:55-04:28 | Create Oracle Account
    04:29-05:55 | Download Java 8 (JDK)
    05:56-06:40 | Java SE 8u221
    06:41-07:42 | Install Java
    07:43-09:50 | Add Java to path
    09:51-11:04 | Install VSCode Extensions
    11:05-12:44 | Write a Java Program
    12:45-14:06 | Configure & Run Java Program
    14:07-14:53 | Run Java files directly
    14:54-15:12 | Shortcut for running code
    15:13-15:53 | Conclusion
    #java #vscode #programming

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

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

    Facing *Latest JDK issue*?
    FIX-
    ====
    Install the same extensions that I'm installing.
    CAUSE-
    ======
    You might have installed Java extension pack.
    Java extension pack will require latest version of JDK as it has more features to give (debugging, etc.)

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

      Bro it helped 😍 thankyou so much brother i was so worried about it

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

      No worries bro!

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

      @@EverythingComputerized hey can you help me to find an extension that contains snippets while coding. My vs code doesn't give me any snippets i am having to create them on my own thats too time consuming

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

      InteliiCode extension all it all!

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

    only video which helped me

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

    Thanks a lot bruhhhhhhhh😁

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

      😇

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

      @@EverythingComputerized Bro I seen It fixed that "Install or locate jdk" error but after sometime I noticed
      My vs code notified these 2 errors.
      Couldn't start client Language Support for Java
      Couldn't start client Language Support for Java (Syntax Server)
      by "Language Support for Java™ by Red Hat" Extension
      I even installed the same version of this you shown in video,
      but It shows IntelliCode required >1.17.1 version of "Language Support for Java™ by Red Hat".
      "Language Support for Java™ by Red Hat" versions >1.17.1 requres JDK 11 or above.
      How can I solve this error bro?
      I've liked video already, but gonna subscribe if I you helped.
      Love ya

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

    I have 32bit os...so I installed jdk version 8..but in vs code it requires jdk 17 or more....I installed the same extensions u told..please tell me the solutions if u can

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

    Brother in environment variable path is not there in my laptop what should I do?
    My lap is windows 8 32bit.

  • @13adityadey
    @13adityadey Год назад +1

    Brother actually I have a windows 7 64 bit pc and I have installed jdk 19 on it. And after installing the vs code it is showing that " error in downloading jdk extension " what to do now plz help 🙏🏻🙏🏻

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

    Locating local jdk is required in vs code by language support and when locating it shows folder does not has java home
    What to do🙁🙁

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

      Didnt face these issues in my case brother!
      I had installed java in a different boot of windows which didn't have java ever installed previously.
      Try to do exact same process, I'm sure it'd work.

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

    hello sir.....
    i have a query can you please clear that,
    i have 32 bit operating system so it only allows me to install jdk version 8 not above than that but in VS code it requires jdk 17 or above so in this what i can do ??
    can you tell any solution...

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

      Read pinned comment.

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

      Sir I am having one more issue
      I have installed JDK 8 and added the path too and check it by command prompt by typing javac ,and it is giving some output
      But in vs code the error is coming-"could not load main function"...I have installed only those 3 extensions which you have mentioned...
      Please tell what I have to do further.

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

      See.. you might have given different class name and java file name. That also causes this issue..
      Just refer this link if there's something different issue you are facing.
      stackoverflow.com/questions/18093928/what-does-could-not-find-or-load-main-class-mean

    • @ShivamSahu-cn6uu
      @ShivamSahu-cn6uu Год назад

      @@Akshat_299 I have 32bit processor too.can u please tell how to run java in it

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

    my system was not supporting visual studio code for older version windows 7

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

    if you have time then pliz pliz start any new tutorial not for only my choice , you can take help through voting
    i saw your sql tutorial you are a good explant , and i completed my sql course from your videos

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

    Thanks bro ,i having searching this solution for longtime 🥹
    You're the best
    You're my hero bro😭😭
    Thanks
    I suddenly subscribed you when I saw this
    Pls do more content for low spec device because everyone posting their high end content there is no one to help the low spec devicer like me ,

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

    You don't have an extension for debugging batch should we find a batch extension in the marketplace
    This issue for java code runn in vs code please help me bro

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

    Sir intelli code is not working for me . pls help me. Windows 10 32 bit

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

    Error while fetching extension,XHR failed now what to do

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

      Maybe Older versions dont support latest extension API

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

      ​@@EverythingComputerized how can this be resolved, any solution??

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

    Sir in my computer I can't able to run Java in command prompt?!

  • @GouthamKumarr
    @GouthamKumarr 17 дней назад +1

    Javac: invalid flag: void
    Usage: javac
    Use of help for a list of possible options
    Bro tell me how to solve this 😭😭🙏🏻🙏🏻

    • @EverythingComputerized
      @EverythingComputerized  6 дней назад

      That's syntactic error. U need to learn Java language for that. Not something related to installation of Java☺️

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

    Error -Cannot access string
    How to solve it

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

      There's a problem with your code.

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

      @@EverythingComputerized already check many times , there's issue in the version may be

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

    Bro i did same but it says to install latest jdk version

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

      If ur computer supports, u can go ahead with that too..
      I told in video too that if ur computer is >= windows 8 and 64bit, then go ahead with latest version.
      As far as this is concerned, i wasn't prompted to install latest version.. i did the steps 1 day before uploading this video.
      If you did same thing, please let me know what you were asked to do, I'll examine that.

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

      @@EverythingComputerized i have windows 7 32 bits i followed everything as yours.. Only thing i did different was to install extensions same as you but i downloaded java extensions pack

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

      That's were u got stuck in.. install the extensions same as mine.
      I used code runner for running java.. and java extension pack uses something else..
      Install same extensions as mine..

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

      @@EverythingComputerized ok bro if it works i will let you know

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

      Sure!

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

    3 billion devices has been installed 🤣🤣🤣🤣