#How to install java in vs code

20 messages · Page 1 of 1 (latest)

warm anchor
#

ive installed a package from the website but its not running the code

agile violetBOT
#

This post has been reserved for your question.

Hey @warm anchor! Please use /close or the Close Post button 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.

warm anchor
#

at first, it sent a message saying the installed jdk isnt working

magic urchin
#

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

warm anchor
#

how to do the other part

magic urchin
#

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

magic urchin
#

you see the system variables

#

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...

▶ Play video
#

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...

▶ Play video
real bridge
#

@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

agile violetBOT
# warm anchor 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.