JDK 1.1 for Solaris Developer's Guide


The Failed Cross Reference Format gives JavaTMdevelopers information about using Java in the SolarisTM 2.6, Solaris 7, and Solaris 8 environments. This information includes overviews and descriptions of the important components of Java on Solaris software, their benefits for developers, and how to use Java on Solaris software to achieve the best application performance. In addition, this document covers compatibility issues.

Who Should Use This Book

This book is intended primarily for these audiences:

How This Book Is Organized

Chapter 1, Introduction to the Java Programming Environment is an overview of subjects covered in this book.

Chapter 2, Multithreading discusses the basics of multithreading, and the benefits of using the native-threaded Java Virtual Machine (JVM) on Solaris.

Chapter 3, Java Programming Environment describes this environment with information specific to using Java on multithreaded Solaris.

Chapter 4, Deprecated Methods lists those methods that have been deprecated as of Java Development Kit (JDKTM 1.1).

Chapter 5, Application Performance Tuning describes ways in which Java developers can increase their applications' performance.

Related Documentation

For up-to-date information about Java on Solaris software, refer to http://www.sun.com/solaris/java.

For information about Java coding style, see http://dp-websvr.eng.sun.com/products/jpt/.

Ordering Sun Documents

Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun Microsystems, Inc.

For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.

Accessing Sun Documentation Online

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

What Typographic Conventions Mean

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 outputmachine_name% su Password:


 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#