Practical uses
- Build enterprise backend systems
- Develop Android applications
- Run high-throughput data platforms
- Create cross-platform desktop and server software
A statically typed, object-oriented language for Android apps and large backend systems.
Java is a statically typed, object-oriented language used for Android apps, business backends and financial systems. It has been around since 1995, so it has a large ecosystem of libraries and mature tooling.
To write Java you need the JDK (Java Development Kit). Install JDK 21, the current long-term support release, then check it works with the commands below.
# Option 1: Adoptium (Eclipse Temurin — recommended open source)
# Download the .msi from adoptium.net — check "Set JAVA_HOME" option
# Option 2: winget
winget install EclipseAdoptium.Temurin.21.JDK
# Option 3: Oracle JDK from oracle.com
# Verify (in new terminal):
java --version
javac --versionLearn the basics first, then pick up these tools when a project needs them.