Java 2 SDK for Solaris Developer's Guide


This manual is an introduction to and overview of the new features and enhancements in version 1.4 of the JavaTM 2 SDK, Standard Edition, for the SolarisTM Operating Environment.

Who Should Use This Book

This document is intended for application developers who use the Java 2 SDK, Standard Edition, in the SolarisTM Operating Environment. The Java 2 SDK, Standard Edition, software is optimized to deliver superior performance to server- and client-side Java technology applications in an enterprise environment.

This document is a subset of the Java 2 SDK documentation available at Upon final release of this product, consider that online documentation to be the definitive description of version 1.4 of the Java 2 SDK, Standard Edition product.

How This Book Is Organized

Chapter 1, New Features and Enhancements lists the features and enhancements of the product.

Chapter 2, Compatibility with Previous Releases discusses compatibility issues.

Chapter 3, Java HotSpot VM Options describes command-line options available for maximizing virtual-machine performance.

Chapter 4, Assertion Facility describes the new assertions facility in the JavaTM 2 Platform.

Related Documentation

These documents also have information related to this release:

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the archive or search for a specific book title or subject. The URL is

Typographic Conventions

The following table describes the typographic changes used in this book.

Table P–1 Typographic Conventions

Typeface or Symbol 




 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.


 What you type, contrasted with on-screen computer output

machine_name% su



 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.


Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P–2 Shell Prompts



 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#