JDK

We use the Java Compiler, javac, to generate bytecode from Java-language source code files.
javac reads a source code .java file and produces a .class bytecode file.
Source code must comply with the Java Language Specification (JLS) in order to compile.
- Additionally, any classes referenced by the source code must be available to the compiler.
The Java Compiler is provided with the Java Development Kit (JDK).
The JDK includes several other features for developers:
-
Java DB - a Java-based Relational Database Management System (RDBMS), derived from the Apache Derby project.
-
A number of utility programs for developers including:
jar- Java ARchiver, used for packaging java projects and applications.javadoc- generates HTML documentation from special comments you include in your code.javap- bytecode decompiler, generates Java source from compiled bytecode.jdb- Java debugger.jstack- Java memory viewer/stack tracer.