How to Install & Run Java in Visual Studio Code | set up Java in VS Code | Build First Project

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: BenTech
193
2

How to install Java with Visual Studio Code (vscode) in under 10 minutes.

Want to use Java in Visual Studio Code? This step-by-step tutorial will show you how to install and set up Java in VS Code, and even walk you through creating your first project. Plus, we'll provide voiceover explanations to guide you along the way! Whether you're a beginner or an experienced coder, this video will help you get started with Java in VS Code.

Install Visual Studio Code: https://code.visualstudio.com/
Install Java Coding Pack: https://code.visualstudio.com/docs/ja...

TIME STAMPS:
0:00 Introduction
0:06 What is covered in the video
0:30 How to check the version of JAVA installed on the pc
0:48 Downloading the Visual Code Pack
1:38 Installing Visual Code Pack
2:28 Installing Visual Code studio
4:00 Installing Java Extension Pack plugin in Vs code
4:38 Running first JAVA Project in vs code


Open vscode, and create new file. Name it whatever you want, but be sure to include the .java extension.

Ex) Create a file named Test.java and add the following code. Make sure the file name is exactly the same as the class name.

Public class Test {
public static void main(String[] args) {
System.out.println("Hello JAVA");
}
}

Simple click the run button and you should see the output "Hello JAVA".

You can also create a Java project by clicking Ctrl + Shift + P at the same time. Type in java create, and click on the Java: Create Java Project.

And, there you have it! How to setup Java for Visual Studio Code in under 10 minutes.

#tutorialbrain
#javavscode
#vscode
#javaprogramming
#vscodejava
#visualstudiocode


Subscribe for more coding tutorials 😄!


Auf dieser Seite können Sie das Online-Video How to Install & Run Java in Visual Studio Code | set up Java in VS Code | Build First Project mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BenTech 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 193 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!