This repository helps beginners set up Java and start coding using Visual Studio Code (VS Code). Prerequisites
VS Code: Download and install from here.
Java JDK: Download from Oracle’s website.
Step 1: Install Java Windows & macOS
bash
java -version
Linux
Open Terminal.
Install the OpenJDK by running:
bash
sudo apt install openjdk-11-jdk
bash
java -version
Step 2: Set Up VS Code for Java
Open VS Code.
Go to the Extensions view (Ctrl+Shift+X).
Search for and install the Java Extension Pack.
Optionally, install Code Runner for quick testing.