Loading topic
javac, java, JAR files, and the classpath. You should also know that a classpath is a list of directories and JAR files that the compiler or JVM searches for classes.2 min readjavac, java, JAR files, and the classpath. This chapter uses Java 12 syntax and commands.2 min readjavac, java, JAR files, and the basic purpose of interfaces. You will use requires to declare which named modules a module needs.1 min readjavac, java, JAR files, and the classpath. This chapter focuses on how a module decides which packages other modules may use.1 min readjavac, java, and the classpath. This chapter uses readability to mean one module is allowed to read the types exposed by another module.2 min readjavac and java commands. This chapter explains how the Java Platform Module System (JPMS) adds a boundary around packages.2 min readjavac, java, JAR files, and basic classpath usage. You will compile a small multi-module application and run it with the module path.1 min readjavac, java, JAR files, and basic module descriptors. This chapter focuses on the JDK modules that provide Java’s standard library, especially the root module java.base.2 min readjavac, java, and the basic purpose of module-info.java. This chapter explains how a module can pass one of its dependencies to modules that depend on it.1 min readmodule-info.java, and the difference between compiling on the classpath and module path. This chapter focuses on controlling which named modules can access an exported package.1 min readmodule-info.java descriptor and that modules can export packages.1 min readmodule-info.java, and basic javac and java commands. You should also know that a module must read another module with requires before it can use that module's exported types.1 min readjavac, java, JAR files, and the basic idea of reflection. This chapter focuses on how classpath code interacts with named modules.1 min readjavac, java, JAR files, and the classpath. This chapter focuses on using an existing JAR on the module path before its source code has a module-info.java file.2 min readmodule-info.java, and basic javac and java commands. This chapter focuses on one JPMS rule: a package must belong to only one named module.2 min readjdeps, the JDK tool that analyzes compiled classes and reports their dependencies.2 min readmodule-info.java, javac, java, and the module path. You should also know that a JAR file packages classes, while a runtime image contains a Java runtime and selected application modules.2 min read