How to set up Java in Visual Studio Code

Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=BB0gZFpukJU



Category:
Tutorial
Duration: 4:24
147,624 views
1,906


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 Test.java and add the following code. Make sure the file name is exactly the same as the class name.

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

Simple click the run button and you should see the output "HELLO WORLD 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 5 minutes.

Java Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4Y1XQOqNsL9Fgg_p6nYhcng

JavaScript Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q

Subscribe for more coding tutorials 😄!







Tags:
how to setup java with vscode
how to setup java for vscode
setup java for vscode
setup java in vscode
java visual studio code setup
install java for visual studio code
setup java vscode
setup java for visual studio code
code java in visual studio code
code java in vscode
install java for vscode
install java in vscode
java in vscode
how to install and run java in vscode
how to install and run java in visual studio code
setup java in visual studio code
java vscode