Languages

Java roadmap

Learn the language behind much of the world's banking, enterprise and Android software, and build backends with it.

  • About 6 to 8 months
  • 8 hours a week
  • 5 stages

Tick each stage as you finish it. Your progress stays on this device.

Start stage 1

Time needed

About 6 to 8 months

8 hours a week. Use a current long-term-support version of Java.

Before you start

  • You can install software on your computer
  • No programming experience is required
  • You are comfortable with step-by-step practice

Not covered here

Android app design and front-end work.

  1. Stage 16 to 7 weeks

    Core Java

    Write clear, object-oriented programs.

    Learn

    • Types, control flow and methods
    • Classes, interfaces and inheritance
    • Exceptions and generics
    • Collections, streams and records

    Tools

    • A current LTS JDK
    • IntelliJ IDEA
    • The official Java tutorials

    Build

    • A library-management program in the console
    • A word-frequency counter using streams

    CheckpointYou can explain the difference between an interface and an abstract class, with an example.

  2. Stage 23 to 4 weeks

    Tooling and testing

    Work the way teams work.

    Learn

    • Maven or Gradle projects
    • Unit tests and mocking
    • Git and code reviews
    • Logging and debugging

    Tools

    • Maven or Gradle
    • JUnit 5 and Mockito
    • Git and GitHub

    Build

    • Convert an earlier project to Maven with tests
    • Fix a bug using only the debugger

    CheckpointYour project builds and tests with one command.

  3. Stage 34 to 5 weeks

    Concurrency and the JVM

    Understand how Java runs your code.

    Learn

    • Threads, executors and virtual threads
    • Synchronisation and common bugs
    • Memory, garbage collection and profiling
    • Files, networking and JSON

    Tools

    • JDK tools (jconsole, jcmd)
    • A profiler such as VisualVM
    • A JSON library

    Build

    • A program that downloads many files in parallel safely
    • A write-up of one memory or speed problem you diagnosed

    CheckpointYou can explain a race condition and fix one in your own code.

  4. Stage 46 to 8 weeks

    Spring Boot and databases

    Build production-style web services.

    Learn

    • REST controllers and validation
    • Spring Data JPA and SQL
    • Authentication and security basics
    • Configuration, profiles and testing

    Tools

    • Spring Boot
    • PostgreSQL or MySQL
    • Postman

    Build

    • A booking or inventory API with login and a database
    • Integration tests that run against a test database

    CheckpointYour service starts, passes its tests and refuses unauthorised requests.

  5. Stage 5Ongoing

    Deploy and get hired

    Ship and prepare for interviews.

    Learn

    • Docker and CI/CD for Java
    • Metrics and logs in production
    • Microservices basics and when to avoid them
    • Data structures, algorithms and interview practice

    Tools

    • Docker
    • GitHub Actions
    • A coding practice site

    Build

    • One Spring Boot service deployed with health checks
    • Fifty practice problems solved in Java

    CheckpointYou can walk through one Java project from request to database and explain every library you used.

Afterwards

Roles this prepares you for

All career paths

Tools and model names change quickly. Treat the names here as examples, and check each tool's own documentation for what is current.