- Java Development Kit
The Java Development Kit (JDK) is a
Sun Microsystems product aimed at Java developers. Since the introduction of Java, it has been by far the most widely used Java SDK. On17 November 2006 , Sun announced that it would be released under theGNU General Public License (GPL), thus making itfree software . This happened in large part on8 May 2007 [cite web
url=http://www.prnewswire.com/cgi-bin/stories.pl?ACCT=104&STORY=/www/story/05-08-2007/0004583482
title=Sun's May 8th announcement of source code for JDK|] and the source code was contributed to theOpenJDK .JDK contents
The primary components of the JDK are a selection of programming tools, including:
* java – Theloader for Java applications. This tool is an interpreter and can interpret the class files generated by thejavac compiler. Now a single launcher is used for both development and deployment. The old deployment launcher, jre, is no longer provided with Sun JDK.
*javac – Thecompiler , which converts source code intoJava bytecode
* jar – The archiver, which packages related class libraries into a single JAR file. This tool also helps manage JAR files.
*javadoc – The documentation generator, which automatically generates documentation fromsource code comments
* jdb – Thedebugger
* javap – The class file disassembler
* appletviewer – This tool can be used to run and debug Java applets without a web browser.
* javah – The C header and stub generator, used to write native methods
* extcheck – This utility can detect JAR-file conflicts.
* apt – The annotation processing tool
* jhat – (Experimental) Java heap analysis tool
* jstack – (Experimental) This utility prints Java stack traces of Java threads.
* jstat – (Experimental)Java Virtual Machine statistics monitoring tool
* jstatd – (Experimental) jstat daemon
* jinfo – (Experimental) This utility gets configuration information from a running Java process or crash dump.
* jmap – (Experimental) This utility outputs the memory map for Java and can print shared object memory maps or heap memory details of a given process or core dump.
* idlj – The IDL-to-Java compiler. This utility generates Java bindings from a given IDL file.
* policytool – The policy creation and management tool, which can determine policy for a Java runtime, specifying which permissions are available for code from various sources
*VisualVM – visual tool integrating several commandline JDK tools and lightweight performance and memory profiling capabilitiesThe JDK also comes with a completeJava Runtime Environment , usually called a "private" runtime. It consists of aJava Virtual Machine and all of the class libraries that will be present in the production environment, as well as additional libraries only useful to developers, such as the internationalization libraries and the IDL libraries.Also included are a wide selection of example programs demonstrating the use of almost all portions of the
Java API .Ambiguity between a JDK and an SDK
The JDK is a subset of what is loosely defined as a
software development kit (SDK) in the general sense. In the descriptions which accompany their recent releases for Java SE, EE, and ME, Sun acknowledge that under their terminology, the JDK forms the subset of the SDK which is responsible for the writing and running of Java programs.Fact|date=March 2008 The remainder of the SDK is composed of extra software, such as Application Servers, Debuggers, and Documentation.Other JDKs
There are other JDKs commonly available for a variety of platforms, some of which started from the Sun JDK source and some which did not. All of them adhere to the basic Java specifications, but they often differ in areas that are explicitly unspecified, such as garbage collection, compilation strategies, and optimization techniques. They include:
*IBM 's J9 JDK, for AIX, Linux, MVS, OS/400, Pocket PC, z/OS [http://www-128.ibm.com/developerworks/java/jdk/]
*Blackdown Java – The Blackdown Group's port of Sun's JDK for Linux
* Apple'sMac OS Runtime for Java JVM/JDK forMac OS [http://docs.info.apple.com/article.html?artnum=120209]References
See also
*
Java platform
*Classpath (Java)
*Java Virtual Machine External links
* [http://java.sun.com/javase/ Sun Java SE] – Sun's current stable release (6).
* [http://www.ibm.com/developerworks/java/jdk/ IBM Java technology JDK]
* [https://jdk7.dev.java.net/ Open source JDK 7 project]
* [http://openjdk.java.net/ Open source JDK project]
* [http://community.java.net/jdk/ Community support]
* [http://www.gnu.org/software/classpath/ GNU Classpath] – aFree software JDK alternative
* [http://harmony.apache.org/ Apache Harmony] – anOpen source JDK alternative
* [http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/jrockit/ BEA's JRockit JDK]
* [http://javadoc.ankerl.com/ Javadoc Developer Kit (JDK) Search Engine]
* [http://www.sun.com/service/developer/index.jsp Developer Support Services from Sun Microsystems]
Wikimedia Foundation. 2010.