How to set up Java in Visual Studio Code

Pubblicato il: 29 maggio 2023
sul canale di: Kenny Yip Coding
1,123,399
13k

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

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:
   • Java Game Programming Tutorials  

JavaScript Game Programming Projects Playlist:
   • JavaScript Game Programming Tutorials  

Subscribe for more coding tutorials 😄!

⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖: https://buymeacoffee.com/kennyyipcoding


In questa pagina del sito puoi guardare il video online How to set up Java in Visual Studio Code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kenny Yip Coding 29 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,123,399 volte e gli è piaciuto 13 mille spettatori. Buona visione!