Java Install (Windows)

Install Java on Windows and set up environment variables properly.


OpenJDK link: [OpenJDK](https://openjdk.org/)

Eclipse Setup

Download and set up Eclipse IDE to create and run Java programs.


Eclipse download: [Eclipse](https://www.eclipse.org/downloads/)

VS Code Setup

Install VS Code and prepare it for Java development with extensions.


VS Code download: [VS Code](https://code.visualstudio.com/)

Install & Run Java (Linux)

Compile and run Java files in Linux and fix common setup errors.

error: can’t find main(String[]) method in class:


Install JDK on Linux (Ubuntu/Debian):
sudo apt update
sudo apt install openjdk-21-jdk