#How to install java in vs code
20 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @warm anchor! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
at first, it sent a message saying the installed jdk isnt working
Did you install jdk in you system
if you already installed it , you have to add path to environment variable and add java extention to VS code
yes ive already installed jdk
how to do the other part
Go to windows search and type Edit environment variables for your account->Advanced (Below you can see Environmental Variables button and click it)-> you can see system variables and select path and edit button->Click New Button and go to your jdk file like(C:\Program Files\Java\jdk-19\bin) and enter Ok button for all. Now go to you VS Code and install java extension.Now run your code
i dont see an advanced option?
you see the system variables
here some youtube video https://www.youtube.com/watch?v=pqqY9jakmFw&ab_channel=GeeksforGeeks
In this video, we're going to discuss how to successfully download and install Java along with setting up the environment in Windows. We'll understand all the things from scratch including all the pre-installation stuff with the help of a live demo. So, let's get started now.
00:00 Let’s Start
00:23 Check Whether Java Has Already Installed Or N...
Set up java in VS code https://www.youtube.com/watch?v=BB0gZFpukJU&ab_channel=KennyYipCoding
How to install Java with Visual Studio Code (vscode) in under 5 minutes.
Install Visual Studio Code: https://code.visualstudio.com/
Install Java Coding Pack: https://code.visualstudio.com/docs/java/java-tutorial
Open vscode, and create new file. Name it whatever you want, but be sure to include the .java extension.
Ex) Create a file named Te...
@magic urchin the answer is dont use vscode for JVa
Java*
Java is a highly complex language with a lot of boilerplate, you need an IDE especially if you are just starting
being able to refactor after removing a class is essential
download intellij its what most people use
ok it works now thank you
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.