23 The Tools of the JDK
“Success should always be only the consequence, never the goal of action.”—Gustave Flaubert (1821–1880)
This chapter introduces the most important programs of the Java Development Kit (JDK). Since most programs are command-line-oriented, we’ll show you their calling syntax as well.
23.1 Overview
Programs of the JDK include the following tools:
|
Tool |
Description |
|---|---|
|
javac |
Java compiler for translating .java to .class files |
|
java |
Java interpreter for running Java applications |
|
javaw |
Like java , but no console window opens |
|
javap |
Displays the bytecode of a class file |
|
jdb |
Debugger to run through a program |
|
javadoc |
Utility for generating documentation |
|
jar |
Archiving ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access