JDKTM 6
Thank you for downloading this release of the JavaTM Platform, Standard Edition Development Kit (JDKTM). The JDK is a development environment for building applications, applets, and components using the Java programming language.
The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the JavaTM platform.
System requirements, installation instructions and troubleshooting tips are located on the Java Software web site at:
JDK 6 Installation Instructions
The on-line JavaTM Platform, Standard Edition (Java SE) Documentation contains API specifications, feature descriptions, developer guides, reference pages for JDKTM tools and utilities, demos, and links to related information. This documentation is also available in a download bundle which you can install on your machine. To obtain the documentation bundle, see the download page. For API documentation, refer to the The JavaTM Platform, Standard Edition API Specification This provides brief descriptions of the API with an emphasis on specifications, not on code examples.
See the Java SE 6 Release Notes on the Java Software web site for additional information pertaining to this release. Please check the on-line release notes occasionally for the latest information as they will be updated as needed.
See Compatibility with Previous Releases on the Java Software web site for the list of known compatibility issues. Every effort has been made to support programs written for previous versions of the JavaTM platform. Although some incompatible changes were necessary, most software should migrate to the current version with no reprogramming. Any failure to do so is considered a bug, except for a small number of cases where compatibility was deliberately broken, as described on our compatibility web page. Some compatibility-breaking changes were required to close potential security holes or to fix implementation or design bugs.
The Bug Database web site lets you search for and examine existing bug reports, submit your own bug reports, and tell us which bug fixes matter most to you. To directly submit a bug or request a feature, fill out this form:
http://bugs.sun.com/services/bugreport/index.jsp
You can send feedback to the Java SE documentation team. You can also send comments directly to Java Software engineering team email addresses.
Note - Please do not seek technical support through the Bug Database or our development teams. For support options, see Support and Services on the Java Software web site.
This section contains a general summary of the files and directories in the JDKTM. For details on the files and directories, see the JDK File Structure section of the Java SE documentation for your platform.
bin/
subdirectory) Tools and utilities that
will help you develop, execute, debug, and document programs written
in the JavaTM programming language.
For further information, see the tool
documentation.jre/
subdirectory) An implementation of the
Java Runtime Environment (JRETM) for
use by the JDK. The JRE includes a JavaTM Virtual Machine (JVMTM), class libraries, and other files that support
the execution of programs written in the JavaTM programming language.lib/
subdirectory) Additional class libraries
and support files required by the development tools.demo/
subdirectory) Examples, with source
code, of programming for the JavaTM
platform. These include examples that use Swing and other
JavaTM Foundation Classes, and the
JavaTM Platform Debugger
Architecture.sample
subdirectory) Samples, with source
code, of programming for certain Java API's.include/
subdirectory) Header files that
support native-code programming using the Java Native
Interface, the JVMTM
Tool Interface, and other functionality of the
JavaTM platform.src.zip
) JavaTM
programming language source files for all classes that make up the
Java core API (that is, sources files for the java.*, javax.* and
some org.* packages, but not for com.sun.* packages). This source code
is provided for informational purposes only, to help developers learn
and use the JavaTM programming
language. These files do not include platform-specific implementation
code and cannot be used to rebuild the class libraries. To extract
these file, use any common zip utility. Or, you may use the Jar
utility in the JDK's bin/
directory:jar xvf src.zip
The JavaTM Runtime Environment (JRETM) is available as a separately downloadable product. See the download web site.
The JRE allows you to run applications written in the JavaTM programming language. Like the JDKTM, it contains the JavaTM Virtual Machine (JVMTM), classes comprising the JavaTM platform API, and supporting files. Unlike the JDK, it does not contain development tools such as compilers and debuggers.
You can freely redistribute the JRE with your application, according to the terms of the JRE license. Once you have developed your application using the JDK, you can ship it with the JRE so your end-users will have a JavaTM platform on which to run your software.
NOTE - The license for this software does not allow the redistribution of beta and other pre-release versions.
Subject to the terms and conditions of the Software License Agreement and the obligations, restrictions, and exceptions set forth below, You may reproduce and distribute the Software (and also portions of Software identified below as Redistributable), provided that:
- you distribute the Software complete and unmodified and only bundled as part of Your applets and applications ("Programs"),
- your Programs add significant and primary functionality to the Software,
- your Programs are only intended to run on Java-enabled general purpose desktop computers and servers,
- you distribute Software for the sole purpose of running your Programs,
- you do not distribute additional software intended to replace any component(s) of the Software,
- you do not remove or alter any proprietary legends or notices contained in or on the Software,
- you only distribute the Software subject to a license agreement that protects Sun's interests consistent with the terms contained in this Agreement, and
- you agree to defend and indemnify Sun and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software.
The term "vendors" used here refers to licensees, developers, and independent software vendors (ISVs) who license and distribute the JavaTM Development Kit (JDKTM) with their programs.
Vendors must follow the terms of the Java Development Kit Binary Code License agreement.
The files that make up the JavaTM Development Kit (JDKTM) are divided into two categories: required and optional. Optional files may be excluded from redistributions of the JDK at the vendor's discretion.
The following section contains a list of the files and directories that may optionally be omitted from redistributions of the JDK. All files not in these lists of optional files must be included in redistributions of the JDK.
The following files may be optionally excluded from redistributions. These files are located in the jdk1.6.0_<version> directory, where <version> is the update version number. SolarisTM and Linux filenames and separators are shown. Windows executables have the ".exe" suffix. Corresponding files with_g
in the name can also be excluded. The corresponding man pages should be excluded for any excluded executables (with paths listed below beginning withbin/
, for the SolarisTM Operating System and Linux).
jre/lib/charsets.jar
jre/lib/ext/
sunjce_provider.jar
- the SunJCE provider for Java
Cryptography APIslocaledata.jar
- contains many of the resources needed
for non US English localesldapsec.jar
- contains security features supported by the
LDAP service providerdnsns.jar
- for the InetAddress wrapper of JNDI DNS
providerbin/rmid
and jre/bin/rmid
bin/rmiregistry
and
jre/bin/rmiregistry
bin/tnameserv
and jre/bin/tnameserv
bin/keytool
and jre/bin/keytool
bin/kinit
and jre/bin/kinit
bin/klist
and jre/bin/klist
bin/ktab
and jre/bin/ktab
bin/policytool
and
jre/bin/policytool
bin/orbd
and jre/bin/orbd
bin/servertool
and
jre/bin/servertool
bin/javaws
, jre/bin/javaws
,
jre/lib/javaws/
and jre/lib/javaws.jar
db/
demo/
sample/
src.zip
The limited set of files and directories from the JDK listed below may be
included in vendor redistributions of the JavaTM Runtime Environment (JRETM). They cannot be redistributed separately, and must
accompany an identically versioned JRE distribution. All paths are
relative to the top-level directory of the JDK. The corresponding man
pages should be included for any included executables (with paths listed
below beginning with bin/
, for the SolarisTM Operating System and Linux).
jre/lib/cmm/PYCC.pf
.ttf
font files in the
jre/lib/fonts/
directory.jre/lib/audio/soundbank.gm
soundbank.gm
file may be included in
redistributions of the JRE at the vendor's discretion. Several
versions of enhanced MIDI soundbanks are available from the Java Sound
web site: http://java.sun.com/products/java-media/sound/.
These alternative soundbanks may be included in redistributions of the
JRE.bin/javac
[SolarisTM Operating System and Linux]bin/sparcv9/javac
[SolarisTM Operating System (SPARC(R) Platform Edition)]bin/amd64/javac
[SolarisTM Operating System (AMD)]bin/javac.exe
[Microsoft Windows]lib/tools.jar
[All platforms]lib/tools.jar
[All platforms]bin/apt
[SolarisTM
Operating System and Linux]bin/sparcv9/apt
[SolarisTM Operating System (SPARC(R) Platform Edition)]bin/amd64/apt
[SolarisTM Operating System (AMD)]bin/apt.exe
[Microsoft Windows]lib/jconsole.jar
lib/tools.jar
[All platforms]jre/lib/sparc/libattach.so
[SolarisTM Operating System (SPARC(R) Platform Edition) and
Linux]jre/lib/sparcv9/libattach.so
[SolarisTM Operating System (SPARC(R) Platform Edition) and
Linux]jre/lib/i386/libattach.so
[SolarisTM Operating System (x86) and Linux]jre/lib/amd64/libattach.so
[SolarisTM Operating System (AMD) and Linux]jre\bin\attach.dll
[Microsoft Windows]lib/tools.jar
[All platforms]lib/sa-jdi.jar
[All platforms]jre/lib/sparc/libsaproc.so
[SolarisTM Operating System (SPARC(R) Platform Edition) and
Linux]jre/lib/sparcv9/libsaproc.so
[SolarisTM Operating System (SPARC(R) Platform Edition) and
Linux]jre/lib/i386/libsaproc.so
[SolarisTM Operating System (x86) and Linux]jre/lib/amd64/libsaproc.so
[SolarisTM Operating System (AMD) and Linux]jre\bin\server\
jre\bin\server
folder to
a bin\server
directory in the JRE. Software vendors may
redistribute the Java HotSpotTM
Server VM with their redistributions of the JRE.Due to import control restrictions for some countries, the Java Cryptography Extension (JCE) policy files shipped with the JDK and the JRE allow strong but limited cryptography to be used. These files are located at
<java-home>/lib/security/local_policy.jar
<java-home>/lib/security/US_export_policy.jar
where<java-home>
is thejre
directory of the JDK or the top-level directory of the JRE.
An unlimited strength version of these files indicating no restrictions on cryptographic strengths is available on the JDK web site for those living in eligible countries. Those living in eligible countries may download the unlimited strength version and replace the strong cryptography jar files with the unlimited strength files.
Root CA certificates may be added to or removed from the Java SE certificate file located at
<java-home>/lib/security/cacerts
For more information, see The cacerts Certificates File section in the keytool documentation.
From time to time it is necessary to update the Java platform in order to incorporate newer versions of standards that are created outside of the Java Community ProcessSM (JCPSM http://www.jcp.org/) (Endorsed Standards), or in order to update the version of a technology included in the platform to correspond to a later standalone version of that technology (Standalone Technologies).
The Endorsed Standards Override Mechanism provides a means whereby later versions of classes and interfaces that implement Endorsed Standards or Standalone Technologies may be incorporated into the Java Platform.
For more information on the Endorsed Standards Override Mechanism, including the list of platform packages that it may be used to override, see
http://java.sun.com/javase/6/docs/technotes/guides/standards/
This distribution bundles Java DB, Sun Microsystems' distribution of the Apache Derby pure Java database technology. Default installation locations are:
- Solaris:
/opt/SUNWjavadb
- Linux:
/opt/sun/javadb
- Windows:
C:\Program Files\Sun\JavaDB
For information on Java DB and Derby, including user and API documentation, the capabilities of Java DB and further resources, see the index.html file in the above directories.
Note that file based distributions of the JDK on Solaris and Linux include Java DB in the ${JAVA_HOME}/db directory.
For additional information, refer to these Sun Microsystems pages on the World Wide Web:
The JavaTM Development
Kit (JDKTM) is a product of Sun
MicrosystemsTM, Inc.
Copyright © 2010 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, California 95054, U.S.A.
All rights reserved.