JDK 1.2 favicon
All About JDK 1.2
JDK 1.2 • 1998 • Java 1.2
SwingJava 2DCollectionsJIT CompilerJNDIJPDA Debugger

JDK 1.2 and the shift from JDK 1.1

Rebranded to J2SE. Tripled class library to 1520 classes/59 packages. Swing, Collections, JIT, Java 2D, strictfp, security managers. JCP introduced.

Why JDK 1.2 mattered

The release in context

Rebranded to J2SE. Tripled class library to 1520 classes/59 packages. Swing, Collections, JIT, Java 2D, strictfp, security managers. JCP introduced.

SwingJava 2DCollectionsJIT CompilerJNDIJPDA Debugger
  • Rebranded to J2SE. Tripled class library to 1520 classes/59 packages. Swing, Collections, JIT, Java 2D, strictfp, security managers. JCP introduced.
  • Key release highlights included Swing, Java 2D, Collections, JIT Compiler.
  • Compared with JDK 1.1, the most visible shifts included IDL, JNDI, Extension ClassLoader.
  • 1520 classes. J2SE branding. JCP introduced. Swing makes Java a serious desktop platform.
  • This release marks the broadening of Java from a language plus runtime into a larger application platform story.
Platform stack

JDK 1.2 architecture preview

This larger diagram expands the smaller JDK badge into a layered platform view showing how the development kit, runtime, virtual machine, APIs, tools, and supporting subsystems fit together for this release.

Previous-version diff

What changed from JDK 1.1 to JDK 1.2

This release marks the broadening of Java from a language plus runtime into a larger application platform story.

User Interface Toolkits

  • Accessibility appeared in JDK 1.2, adding a new capability in user interface toolkits.
  • Drag and Drop appeared in JDK 1.2, adding a new capability in user interface toolkits.
  • Java 2D appeared in JDK 1.2, adding a new capability in user interface toolkits.
  • Swing appeared in JDK 1.2, adding a new capability in user interface toolkits.

lang and util Base Libraries

  • java.security appeared in JDK 1.2, adding a new capability in lang and util base libraries.
  • java.util.Collections appeared in JDK 1.2, adding a new capability in lang and util base libraries.
  • javax.swing appeared in JDK 1.2, adding a new capability in lang and util base libraries.
  • java.lang.reflect was updated in JDK 1.2, showing active movement in lang and util base libraries.

Tools & Tool APIs

  • JPDA Debugger appeared in JDK 1.2, adding a new capability in tools & tool apis.
  • keytool appeared in JDK 1.2, adding a new capability in tools & tool apis.
  • policytool appeared in JDK 1.2, adding a new capability in tools & tool apis.
  • Debugger API carried forward from JDK 1.1 and settled into the baseline by JDK 1.2.
Matrix slice

Quick comparison table: JDK 1.1 vs JDK 1.2

This side-by-side view turns the source evolution matrix into a faster way to see which language, tooling, runtime, and platform layers moved between these two releases.

Area Component JDK 1.1 JDK 1.2 Why it stands out
Integration Libraries IDL Not present NEW IDL appeared in JDK 1.2, adding a new capability in integration libraries.
Integration Libraries JNDI Not present NEW JNDI appeared in JDK 1.2, adding a new capability in integration libraries.
JVM: Class Loader Subsystem Extension ClassLoader Not present NEW Extension ClassLoader appeared in JDK 1.2, adding a new capability in jvm: class loader subsystem.
JVM: Execution Engine & GC JIT Compiler (Sun) Not present NEW JIT Compiler (Sun) appeared in JDK 1.2, adding a new capability in jvm: execution engine & gc.
Java Language Features strictfp keyword Not present NEW strictfp keyword appeared in JDK 1.2, adding a new capability in java language features.
Other Base Libraries Collections Framework Not present NEW Collections Framework appeared in JDK 1.2, adding a new capability in other base libraries.
Other Base Libraries Security (JCE/JSSE) Not present NEW Security (JCE/JSSE) appeared in JDK 1.2, adding a new capability in other base libraries.
Tools & Tool APIs JPDA Debugger Not present NEW JPDA Debugger appeared in JDK 1.2, adding a new capability in tools & tool apis.
Tools & Tool APIs keytool Not present NEW keytool appeared in JDK 1.2, adding a new capability in tools & tool apis.
User Interface Toolkits Accessibility Not present NEW Accessibility appeared in JDK 1.2, adding a new capability in user interface toolkits.
User Interface Toolkits Drag and Drop Not present NEW Drag and Drop appeared in JDK 1.2, adding a new capability in user interface toolkits.
lang and util Base Libraries java.security Not present NEW java.security appeared in JDK 1.2, adding a new capability in lang and util base libraries.
lang and util Base Libraries java.util.Collections Not present NEW java.util.Collections appeared in JDK 1.2, adding a new capability in lang and util base libraries.
Java Language Features Reflection API NEW UPD Reflection API was updated in JDK 1.2, showing active movement in java language features.
Structured comparison

Grouped reading of the release shift

1520 classes. J2SE branding. JCP introduced. Swing makes Java a serious desktop platform.

User Interface Toolkits
New in JDK 1.2
  • Accessibility
  • Drag and Drop
  • Java 2D
  • Swing
  • JavaBeans
Updated by JDK 1.2
  • AWT (new event model)
lang and util Base Libraries
New in JDK 1.2
  • java.security
  • java.util.Collections
  • javax.swing
  • java.sql
  • java.beans
Updated by JDK 1.2
  • java.lang.reflect
  • java.util
  • java.awt
Tools & Tool APIs
New in JDK 1.2
  • JPDA Debugger
  • keytool
  • policytool
  • Debugger API
  • rmic
Updated by JDK 1.2
  • Steady platform carry-forward in JDK 1.2
Historical platform profile

Release narrative

Rebranded to J2SE. Tripled class library to 1520 classes/59 packages. Swing, Collections, JIT, Java 2D, strictfp, security managers. JCP introduced.

1520 classes. J2SE branding. JCP introduced. Swing makes Java a serious desktop platform.

SwingJava 2DCollectionsJIT CompilerJNDIJPDA Debugger
Why it mattered later

Why JDK 1.2 matters in the JDK timeline

This release is best understood as a turning point in how developers thought about the Java platform, not just as a routine toolkit increment.

  • JDK 1.2 sits in the timeline as a platform shift, which shaped how teams evaluated and adopted it.
  • It is commonly remembered for Swing, Java 2D, Collections.
  • Compared with JDK 1.1, it gives a clearer picture of how the JDK platform was evolving release by release.
  • 1520 classes. J2SE branding. JCP introduced. Swing makes Java a serious desktop platform.
Related pages

Continue through the platform story