2 Main Tools to Create and Build Applications
You can use the foundation JDK tools and commands to create and build applications.
The following sections describe the tools and commands that you can use to create and build applications:
-
javac: You can use the
javactool and its options to read Java class and interface definitions and compile them into bytecode and class files. -
javap: You use the
javapcommand to disassemble one or more class files. - javadoc: You use the
javadoctool and its options to generate HTML pages of API documentation from Java source files. -
java: You can use the
javacommand to launch a Java application. -
jar: You can use the
jarcommand to create an archive for classes and resources, and to manipulate or restore individual classes or resources from an archive. -
jlink: You can use the
jlinktool to assemble and optimize a set of modules and their dependencies into a custom runtime image. -
jmod: You use the
jmodtool to create JMOD files and list the content of existing JMOD files. -
jdeps: You use the
jdepscommand to launch the Java class dependency analyzer. -
jdeprscan: You use the
jdeprscantool as a static analysis tool that scans a jar file (or some other aggregation of class files) for uses of deprecated API elements.