Pre-Maven, huh? That's a ways back. We're not really pointing the compiler at the classpath anymore.
Maven is meant to replace Ant, also by Apache. The idea is that you can use Maven to both configure your build scripts
and fetch dependency JARs. These are primarily hosted in the MavenCentral repo, but you can configure custom repos to pull JARs from. Maven projects are configured in XML.
More recently, Gradle has begun to become the defacto standard build utility for Java. Gradle is run by company called Buildship and it uses existing Maven repos (like MavenCentral), so you have access to the same dependencies. The difference is that projects aren't configured in XML anymore, they're actually configured in Groovy. Groovy is a scripting language for the JVM. So your project XML is now a script with specialized structure that defines how the project gets built. Gradle also
supports having buildscdripts in Kotlin.
Speaking of Kotlin, well, I'll stop here for now. But I highly advise not starting new Java work in Java, but in Kotlin instead.