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
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.)
Bro it helped 😍 thankyou so much brother i was so worried about it
No worries bro!
@@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
InteliiCode extension all it all!
only video which helped me
🙌
Thanks a lot bruhhhhhhhh😁
😇
@@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
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
Install only the same extensions as I'm installing..
Brother in environment variable path is not there in my laptop what should I do?
My lap is windows 8 32bit.
It will be there.. in windows 8 and below, the interface is bit different
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 🙏🏻🙏🏻
Download jdk 8. Follow exact same process as I shown
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🙁🙁
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.
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...
Read pinned comment.
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.
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
@@Akshat_299 I have 32bit processor too.can u please tell how to run java in it
my system was not supporting visual studio code for older version windows 7
Try the version that I've provided the links for in the pinned comment
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
i think you understand my English ☺
Yes.. I'll try.. thanku♥️
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 ,
Thank you dude! I'll surely try posting more content!
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
Although I have java extension it Has been showing me sir
What do u mean By batch? Debug multiple files?
Sir intelli code is not working for me . pls help me. Windows 10 32 bit
No issues.. u can skip that
Error while fetching extension,XHR failed now what to do
Maybe Older versions dont support latest extension API
@@EverythingComputerized how can this be resolved, any solution??
Sir in my computer I can't able to run Java in command prompt?!
Please do exact thing what i did.. it should work
@@EverythingComputerized ok sir 👍
I think you don't create environment variables
Javac: invalid flag: void
Usage: javac
Use of help for a list of possible options
Bro tell me how to solve this 😭😭🙏🏻🙏🏻
That's syntactic error. U need to learn Java language for that. Not something related to installation of Java☺️
Error -Cannot access string
How to solve it
There's a problem with your code.
@@EverythingComputerized already check many times , there's issue in the version may be
Bro i did same but it says to install latest jdk version
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.
@@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
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..
@@EverythingComputerized ok bro if it works i will let you know
Sure!
3 billion devices has been installed 🤣🤣🤣🤣
😂