Installing Java Jdk [ HD • FHD ]

# Update your package list sudo apt update

Run where java (Windows) or which java (Mac/Linux) to see which one is being used.

You can set environment variables in your shell configuration file. installing java jdk

javac --version

The standard version available on the Oracle Download Page . # Update your package list sudo apt update

For this guide, I'll use (formerly AdoptOpenJDK) because it's free, open-source, and easy to manage.

Before we start typing commands, let's clarify the jargon: installing java jdk

Java isn't in your PATH. Fix (Windows):