Loading topic
javac and java. It also assumes you are comfortable at the command line and know what a JAR file and the classpath are. You do not need to know the module system yet. Later chapters cover it.3 min readjavac and java, use the command line, and know what a JAR and the classpath are.3 min readjavac and java, and that you know what a JAR and the classpath are. It covers the file that tells the module system, and later jlink, what your application needs.2 min readjavac, know what module-info.java declares, and know the difference between the classpath and the module path.2 min readmodule-info.java and requires do, and that you can run javac and jar from the command line.2 min readrequires does in a module-info.java file. It also assumes a JDK 9 or later with the jmods directory, and that JAVA_HOME points to it. You will build a runtime image that holds only the m2 min readjlink (the previous chapter) and know what a module descriptor is. Here you will look at the directories and files that jlink produces, and learn what each one is for.2 min readjlink and can read a module-info.java file. Both were covered in the previous chapters.2 min readjlink and know what --add-modules and --output do. It covers the options that shrink the image and shows how to measure each one.2 min readjlink (see "Your first jlink image"), and know that an image has bin, lib, conf and a release file. Here you will check that the image contains what you expect and that the application runs on it.2 min readmodule-info.java file. The question here is why jlink can leave out a module your application loads at run time, and what to do about it.2 min readjlink from a modular application and read jdeps output. It covers what happens when your application depends on JARs that have no module-info.class.2 min readjlink, as in the earlier chapters. It also assumes you know what --module-path and --add-modules do.2 min readjlink, as in the earlier chapters. It shows how to run that build inside a container build and a CI job.2 min readjlink, read jdeps output, and know what module-info.java does. It covers what a custom runtime costs you, so you can decide when it is worth using.2 min read