JDK Tools - IT magazine

IT magazine

Knowledge that matters

JDK Tools

Share This

Basic Java Tools

          The Java Development Kit contains the software and tools that you need to compile, debug, and run applets and applications that you've written using the Java programming language. Following are the basic and important tools of JDK

  1. javac: which is the compiler for the Java programming language 
  2. java: which is used to launch Java applications. In Java EE, the java program is used as a launcher, both for development and deployment. In the latest JDK, the old deployment launcher, jre is no longer provided.
  3. javadoc:which parses the declarations and documentation comments in a set of source files so as to produce a set of HTML pages describing the classes, interfaces, constructors, methods, and fields. javaDoc is the Java API documentation generator.
  4. apt:which is a command-line utility for annotation processing, which includes a set of reflective APIs and also some supporting infrastructure to process program annotations (JSR 175). The reflective APIs of apt offer a build-time, source-based, read-only view of program structure. The apt is a java annotation processing tool.
  5. appletviewer:  which is a java tool that runs and debugs applets without a web browser.
  6. jar:which is a java tool that helps to create and manage Java Archive (JAR) files. The JAR file is a platform-independent file which uses the ZIP format, and therefore supports compression, aggregating many files into an archived file. Multiple Java applets, servlets, other java programs with their requisite components such as class files, images and sounds files can be bundled in a JAR file. The JAR files can be downloaded to a web browser in a single HTTP transaction which results in improving download speed.
  7. jdb:  which is a Java Debugger which, per the Java Platform Debugger Architecture (JPDA), uses three of its interfaces in order to facilitate the debugging of java applications, particularly on desktop systems.
  8. javah:which is used to write native methods such as C header and stubs. The javah is mainly a C header and stub generator.
  9. javap:which is used as a class file disassembler.
  10. ext: check which is a java utility used to detect JAR conflicts.


No comments:

Post a Comment