All languages

Java

You're viewing a free preview. Sign in free to read every script.

Why this exists Maven, Gradle and Spring Boot do their work through a few plain mechanisms: packages , the classpath , and jar files . When a build tool hides them, everything works, and when something goes wrong in a…

Java Basics: Packages, the Classpath, javac -d and Building a Jar by Hand

What a package is, how javac and java find classes, how to compile a multi-package project and a library into jars without any build tool, and how to read the two errors every deployment eventually hits: NoClassDefFoundError and "Could not find or load main class".

Sign in free to read this script, along with the rest of the library.

Sign in free