acronym JDK (Java Development Kit). Formerly foppishly called the SDK (Software Development Kit). It is free, and you may freely distribute any programs you create with it.
To further confuse you, Oracle refers to the various downloads of Java updates. They are not updates, but entire new versions. You don’t need a previous version installed.
To use the JDK you must be running W2K/XP/W2003/Vista/W2008/W7-32/W7-64/W8-32/W8-64/Linux/LinuxARM/LinuxX86/LinuxX64/Ubuntu/Solaris/SolarisSPARC/SolarisSPARC64/SolarisX86/SolarisX64/OSX or Solaris.
Below is how to get Java for Windows, Linux and Solaris. For other platforms (e.g. various Unices) see your OS (Operating System) vendor’s site. For example for NetBSD Unix Java is included in pkgsrc (the Packages System).
| Version | Executables | Documentation | What’s New |
|---|---|---|---|
| JDK
1.7.0_21
(current) |
Last revised/verified: 2013-03-04Select Java SE 7u21
JDK then your platform W2K/XP/W2003/Vista/W2008/W7-32/W7-64/W8-32/W8-64/Linux/LinuxARM/LinuxX86/LinuxX64/Ubuntu/Solaris/SolarisSPARC/SolarisSPARC64/SolarisX86/SolarisX64/OSX
and choose Windows (or whatever your platform). Note that Apple Mac OSX is now
included. You don’t have to put up with a severely out of date version from Apple any more. For
W7-64/W8-64, you will need both 64-bit
JDK
for the desktop and a 32-bit JRE
for 32-bit browsers.) If both browsers don’t show up in the Java control
panel, manually add the missing one. If you have a 64-bit browser, you can run
your Applets and Web starts in 64-bit too. All the common Windows browsers are
still 32-bit. The version you most likely want to download is:
JavaDB/Derby is supposed to be included in the JDK. After the install, make sure the Java DB SQL (Standard Query Language) engine install worked by running J:\Program Files\Java\jdk1.7.0_21\db\bin\sysinfo.bat and checking that it is the expected Java DB version. The JDK, described here, is for people who want to write their own Java programs. If all you want to do is run them, or browse Applets on the web, you should use the much smaller JRE instead. You don’t need both. The JDK includes the JRE. The Oracle installer is badly designed. Watch out for the following:
|
download documentation download API (Application Programming Interface) documentation. jdk-7u21-apidocs.zip 58MB in zipped HTML (Hypertext Markup Language) format. It has changed since the previous version, so you can’t just drag over your old docs directory. It is not at the top as advertised. Look about ¾ down the page. The link in is the middle of the page after the JDK and JRE downloads before the source downloads. It is confusing because there is a section of miscellaneous documentation at the top, which does not include the API documentation. You just unzip the download into your J:\Program Files\java\jdk1.7.0_21 directory with folder names. There is no installer. I suggest you mark the docs directory as compressed to save space after you download and unzip it. Only the very curious will want the source downloads. If you selected the default C: location, it will install a
If you manually selected a location, then the JDK will be where you specified e.g.
You need to download and put the documentation in: J:\Program Files\java\jdk1.7.0_21 \docs After you have installed the documentation, build a bookmark to it in your browser |
release
notes. To use any of the rem compiling with JDK 1.7 features turned on javac.exe -source 1.7 -target 1.7 MyProg.java rem -30-You might consider renaming src.zip to src.jar so that your IDE can see the source files for cross referencing. The install also puts some files in C:\Program Files\java\common files. It will install two copies of the JRE, a private one with debugging turned on in J:\Program Files\java\jdk1.7.0_21 \jre for the SDK tools, and a public one with debugging turned off in C:\Program Files\java\jre7 for all apps to use. The private debugging version is designed for tracing code through step by step. JET (Just Enough Time) Version 8.0 supports up to Java 1.6.0_43. (The most recent Oracle release is 1.7.0_21 ), currently one full version behind. You can use the 1.7.0_21 compiler, but you must use -target 1.6. Even if you avoid the new 7.0 features JET cannot handle code compiled with -target 1.7. Last revised/verified: 2013-04-19. JET supports XP/W2003/Vista/W2008/W7-32/W7-64/Linux JET comes with a precompiled JRE, so you don’t actually need to install a Oracle JRE 1.6.0_43 though obviously you will need some JDK for development, usually JDK 1.7.0_21. JET 8.0 now lets you natively compile Tomcat and Tomcat applications. Support for JDK 1.7.0_21 has been delayed to expedite release of 64-bit JET. There are currently no MPs (Modifier Packs) to download and install for Jet 8.0. |
| JDK 1.6.0_45
(obsolete) |
The JDK, described here, is for people who want to write their own Java programs. If all you want to do is run them, or browse Applets on the web, you should use the much smaller JRE instead. You don’t need both. The JDK includes the JRE. The Oracle installer is badly designed. Watch out for the following:
|
download documentation Downloadable documentation. Online documentation. You will have to use the online docs or the Java 1.7 docs. Only the very curious want the source downloads. It will install a JDK in: J:\Program Files\java\jdk1.6.0_45 and a client JRE in: C:\Program Files\java\jre7 or J:\Program Files (x86) \java\jdk1.6.0_45 for a 32-bit Java on 64-bit Windows 6. and a debugging/server JRE in: J:\Program Files\java\jdk1.6.0_45\jre. The documentation goes in: J:\Program Files\java\jdk1.6.0_45\docs After you have installed the documentation, build a bookmark to it in your browser: |
release
notes. To use any of the rem compiling with JDK 1.6 features turned on javac.exe -source 1.6 -target 1.6 MyProg.java rem -30-You might consider renaming src.zip to src.jar so that your IDE can see the source files for cross referencing. New features in Java version 1.6:
The install also puts some files in C:\Program Files\java\common files. It will install two copies of the JRE, a private one with debugging turned on in J:\Program Files\java\jdk1.6.0_45\jre for the SDK tools, and a public one with debugging turned off in C:\Program Files\java\jre6 for all apps to use. The private debugging version is designed for tracing code through step by step. You can also download source the source for everything. You don’t need it other than for curiosity. JET Version 8.0 supports up to Java 1.6.0_43. (The most recent Oracle release is 1.7.0_21 ), currently one full version behind. You can use the 1.7.0_21 compiler, but you must use -target 1.6. Even if you avoid the new 7.0 features JET cannot handle code compiled with -target 1.7. Last revised/verified: 2013-04-19. JET supports XP/W2003/Vista/W2008/W7-32/W7-64/Linux JET comes with a precompiled JRE, so you don’t actually need to install a Oracle JRE 1.6.0_43 though obviously you will need some JDK for development, usually JDK 1.7.0_21. JET 8.0 now lets you natively compile Tomcat and Tomcat applications. Support for JDK 1.7.0_21 has been delayed to expedite release of 64-bit JET. There are currently no MPs to download and install for Jet 8.0. |
|
JDK 1.5.0_22
(obsolete) |
download JDK. The Windows Installation version is 88MB and contains NetBeans. If you don’t want NetBeans, look lower on the page under
32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86
where you can get the vanilla 55MB JDK.
You then get a choice of
online or offline install. offline is preferable since it lets you reinstall later even if you have no
Internet access or if Oracle stops making it available. online uses less disk space since it downloads as
needed during the install. You can also put the offline version on CD (Compact Disk)
for backup or to pass on to others. JDK
version 1.5 is slated for end of life 2009-10-30,
last updated on 2009-11-03. The JDK
includes source in src.zip and class files in
jre\lib\rt.jar. Includes the JRE
and Java Web Start runtime jawaws.exe. Does not include JavaMail or
JAF (Java Activation Framework). |
download documentation Download documentation. 49MB in zipped HTML format. The link is way at the bottom of the page after the JDK executable downloads. I suggest you mark the docs directory as compressed to save space after you download and unzip it. . | You might consider renaming src.zip to src.jar so that your IDE can see the source files for cross referencing. This release includes major changes to the Java language such as boxing/unboxing (automatic int <-> Integer conversion), generic (Collections know what sort of objects are in them), enhanced for loops for iterating over Collections, and typesafe enumerations, and variable numbers of argument to a method. Here is a summary of the changes |
| JDK 1.7.0_40 (beta) |
download executables. Last revised/verified: 2013-05-07 |
download documentation. Download production documentation. | The main reason to use a beta version is to find and report bugs. |
| JDK 1.8 (beta) | This version supports lambda
expressions. |
Docs on Lambda Expressions |
Sooner or later you will have to reinstall the JDK/JRE and you will lose your ext directories. You can quickly rebuild them if you maintain a bat file like this and run it after every JRE/JDK install. Adjust the file to account for where your ext dirs are and where the jars are you need.
To access the JDK under Linux, you need to set up two environment variables JAVA_HOME and the PATH.
For client use, you don’t need to put anything on the path. The JRE installer puts a dummy copy of java.exe on the path in C:\WINNT\system32 to get things started. When it is invoked, it looks in the registry to find the current actual java.exe. javaws.exe works the same way.
| Java JDK Releases Dates and Release Differences | |||
|---|---|---|---|
| Date | Version | Codename | New Features Introduced In that Release |
| 1996-01-23 | 1.0 | Oak? | Java released to public |
| 1997-02-18 | 1.1 | Sparkler | No longer supported. Added a totally new event model, using Listeners, anonymous classes and inner classes. This is the level Microsoft has trapped many of its customers at. Netscape proprietary RSA code signing. Microsoft proprietary CAB (Cabinet file) code signing. |
| 1997-09-12 | 1.1.4 | Sparkler | |
| 1997-12-03 | 1.1.5 | Pumpkin | |
| 1998-04-24 | 1.1.6 | Abigail | |
| 1998-09-28 | 1.1.7 | Brutus | |
| 1999-04-08 | 1.1.8 | Chelsea | |
| 1998-12-04 | 1.2 | Playground | No longer supported. Added ArrayList and other Collections, added Swing (though the initial release is missing many methods). Added DSA (Digital Signature Algorithm) code signing. Added BufferedImage |
| 1999-03-30 | 1.2.1 | (none) | |
| 1999-07-08 | 1.2.2 | Cricket | |
| 2000-05-08 | 1.3 | Kestrel | No longer supported. java.util.Timer, java.lang. StrictMath, Runtime. addShutdownHook, java.awt. Robot, java.awt.print. PageAttributes, java.media.sound (MIDI (Musical Instrument Digital Interface) and sampled). Hotspot introduced. RMI (Remote Method Invocation) now has the option of using CORBA (Common Object Request Broker Architecture) ’s IIOP protocol. Added RSA code signing, which quickly effectively obsoleted DSA certificates. |
| 2001-05-17 | 1.3.1 | Ladybird | |
| 2002-02-13 | 1.4 | Merlin | No longer supported. added regexes, assertions and nio. |
| 2002-09-16 | 1.4.1 | Hopper (Grasshopper) | |
| 2003-06-26 | 1.4.2 | Mantis | |
| 2004-09-29 | 1.5 | Tiger | added StringBuilder, java.util.concurrent, generics, enums, annotations, autoboxing, covariant return types, for:each, static import and variable-length argument lists. MacOS for the PowerPC is stuck at version 1.5. more. |
| 2006-12-12 | 1.6 | Mustang | System tray, subpixel antialiasing, Document-modal, Application-modal, Toolkit-modal, Applet splash screens, JTable sorting, true double buffering, digitally signed XML (extensible Markup Language) files, JWS (Java Web Start) support for *.ico and *.png, JavaCompiler (ability to invoke javac cleanly), JDBC (Java Data Base Connectivity) 4.0, smart card API, Console. readPassword, improved drag & drop. Apple OS X 10.5 supports JDK 1.6.0_13. pluggable annotations, more. |
| 2011-07-28 | 1.7 | Dolphin | String case lablels. binary literals. Underscores in numeric literals. Multiple Exception catch. |
| Future Versions | |||
| 2013-09 | 8.0 | Lambda | closures aka λ lambda expressions, unsigned literals, annotations on Java types, date and time API (to unify Date and Calendar, use 1-based months, deal with multihour DST) tight integration with JavaFX. |
| 2015? | 9.0 | ? | better support for multi-gigabyte heaps, better native code integration, and a self-tuning JVM |
| 2017? | 10.0 | ? | Primitives behave identically to objects. 64-bit arrays and Collections? |
Here is what I do when Oracle releases a new version of the JDK. For you, it is simpler:
|
|
available on the web at: |
http://mindprod.com/jgloss/jdk.html |
optional Replicator mirror
|
J:\mindprod\jgloss\jdk.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[23.20.196.179] |
|
| Feedback | You are visitor number 552,069. | |