Pre-General Availability: 2017-05-24

2 Main Tools to Create and Build Applications

You can use the foundation JDK tools and commands to create and build applications.

The following topics describe the tools and commands that you can use to create and build applications:

  • javacYou can use the javac tools and its options to read Java class and interface definitions and compile them into bytecode and class files.

  • javapYou use the javap command to disassemble one or more class files.

  • javah You use the javah tool to generate C header and source files from a Java class.

  • javadocYou use the javadoc tool and options to generate HTML pages of API documentation from Java source files.
  • javaYou can use the java command to launch a Java application.

  • appletviewer You use the appletviewer command to launch the AppletViewer and run applets outside of a web browser.

  • jar You can use the jar command to create an archive for classes and resources, and manipulate or restore individual classes or resources from an archive.

  • jlink You can use the jlink tool to assemble and optimize a set of modules and their dependencies into a custom runtime image.

  • jmodYou use jmod to create JMOD files and list the content of existing JMOD files.

  • jdepsYou use the jdeps command to launch the Java class dependency analyzer.

  • jdeprscanYou use the jdeprscan tool as a static analysis tool that scans a jar file (or some other aggregation of class files) for uses of deprecated API elements.