java --version You should see something like:
Happy coding! ☕
Java remains one of the most popular programming languages in the world. Whether you're diving into Android development, Spring Boot, or just starting your coding journey, the first real step is installing the Java Development Kit (JDK) . installing java jdk
For other distros (Fedora, Arch, etc.), use your package manager ( dnf , pacman , etc.) to install openjdk . Open a terminal (Command Prompt on Windows, Terminal on Mac/Linux) and run:
Have questions or run into a weird error? Drop a comment below or check out the Eclipse Adoptium community forums. java --version You should see something like: Happy coding
# Update your package list sudo apt update sudo apt install default-jdk Verify installation java --version
openjdk 17.0.9 2023-10-17 OpenJDK Runtime Environment Temurin-17.0.9+9 OpenJDK 64-Bit Server VM Temurin-17.0.9+9 Then check the compiler: For other distros (Fedora, Arch, etc
Compile and run it: