With this release of the JDK comes a slew of changes that should keep Java technology developers, book authors, and trainers (not to mention Java technology magazine authors and editors) busy upgrading our knowledge sets, books, and training materials (and articles) for some time to come. While some pieces of the new version (most notably Swing) have been available for more than a year now, significant changes have crept into the latest beta version of the software, 1.2 beta 4. We'll bring you up to speed with these changes now, so you'll be ready to make the most of them when JDK 1.2 hits the street.
And, if the hype is true, this is one package you'll want to be prepared for. "JDK 1.2 is the most significant delivery of Java technology thus far," Centoni says. "Based on customer feedback, it provides a completed platform that includes essential features for development of solutions in the Enterprise." According to Dr.Simon Moores, president of The Java Forum, "The new 1.2 features represent an evolutionary step from a cool programming language to a serious preparatory technology, capable of supporting the wired infrastructure of the early twenty-first century."
Centoni specified several key features that contribute to the merit of JDK 1.2:
The changes offered in the 1.2 JDK fit into about four categories. We'll look into each of these categories in some detail, demonstrate the new capabilities, and prepare you to take advantage of them.
We'll also look at a number of non-Core Java packages, and point out JDK 1.1/JDK 1.2 compatibility issues you should be aware of.
Developers will run across the first set of changes quickly. The basic environment configuration has changed. Most of the
worry related to modifying the CLASSPATH environment variable is gone, both for development and runtime (end-user) environments. And you can forget about the classes.zip
file that stored all the Java class files. That, too, is gone. The jre command also is gone, as it was just an alternate way of starting something with java.
CLASSPATH settings
What's this? No more setting of CLASSPATH? No more classes.zip file? Here's the scoop: With JDK 1.1, initial installation required you to add the bin directory under
the JDK installation directory to your PATH environment variable. That isn't a problem and hasn't changed with JDK 1.2, assuming you want the compiler and other tools
in your path. It's the next step that's changed.
javadoc enhancements and how to create doclets http://java.sun.com/products/jdk/1.2/docs/tooldocs/javadoc/index.html
doclet and output http://www.javaworld.com/jw-11-1998/jdk12/jw-11-jdk12.zip