Class Bach

java.lang.Object
de.sormuras.bach.Bach

public class Bach
extends Object
Java Shell Builder - build modular projects with JDK tools.

As an example, a project named demo and with version 47.11 can be built with the following code:


 var configuration = Configuration.ofSystem();
 var project = Project.of("demo", "47.11");
 new Bach(configuration, project).build();
 

The Java Development Kit provides at least the following tools via the ToolProvider interface.

  • jar - create an archive for classes and resources, and manipulate or restore individual classes or resources from an archive
  • javac - read Java class and interface definitions and compile them into bytecode and class files
  • javadoc - generate HTML pages of API documentation from Java source files
  • javap - disassemble one or more class files
  • jdeps - launch the Java class dependency analyzer
  • jlink - assemble and optimize a set of modules and their dependencies into a custom runtime image
  • jmod - create JMOD files and list the content of existing JMOD files
See Also:
JDK Tools