Getting Started

Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.

Folder Structure

The workspace contains two folders by default, where:

  • src: the folder to maintain sources
  • lib: the folder to maintain dependencies

JAVA version 21

https://download.oracle.com/java/21/archive/jdk-21.0.2_windows-x64_bin.exe

Run the Project

open the src folder and run the main file