The JDK

Upon downloading and installing the JDK, two folders are typically created in the installation directory: the
JDK folder and the JRE folder.














The folders are usually given names to indicate what version of Java they contain. The JRE folder does not
include tools to create or develop Java applications. It is strictly the minimum software that must be installed
on a machine in order to run Java applications. Again, the JDK is the development environment. It contains a
JRE and the development tools/libraries needed to create Java applications.

Wherever the JDK is installed, the folder contains the tools, examples, and supporting libraries necessary for
building Java applications.




















•   The
bin folder contains all the executables you need, including the compiler and runtime, for developing
    
Java applications.

•   The
db folder contains Sun Microsystems’ distribution of the Apache Derby database for use in your
    
applications, if desired.

•   The
demo and sample folders are used to help you start to understand Java a bit more.

•   The
include folder contains pieces of Java you need that can’t be written in Java (libraries used to connect
    
to C and C++ languages).

•   The
jre folder represents a subset of the JDK. The JRE is the portion of the JDK that you can give away
    
to distribute your applications.

•   The
lib folder contains the Java API libraries; specifically, it contains tools.jar.  Tools.jar is a library of all
    
the standard Java classes.

•   Also notice the
src.zip file contains all of the source code for the standard libraries that come with Java.
JDK
Table of Contents
Copyright (c) 2008.  Intertech, Inc. All Rights Reserved.  This information is to be used exclusively as an
online learning aid.  Any attempts to copy, reproduce, or use for training is strictly prohibited.
Courseware
Training Resources
Tutorials
Services