The Java 3D API Specification Contents Previous Next Index


A P P E N D I X G

CD-ROM Installation




THIS appendix describes how to install the software on the CD-ROM that came with this book. For descriptions of the program examples on the CD-ROM, see Appendix H, "The Example Programs."

G.1 What's on the CD-ROM

The Java 3D CD-ROM contains the following:

The Java 3D CD-ROM does not contain OpenGL for Windows, which is required to run Java 3D applications. See Section G.2.1, "Requirements for Windows Systems."

The CD-ROM contains an index.html file with the latest information that may not have made it into this book. This file also has more detailed installation instructions, if you find the need.

The index.html file can be read with any browser. If any information in this appendix contradicts the index.html file, assume that the index.html file is correct.

The CD-ROM also contains the following directories:

doc/

Contains the javadocs, and a browsable copy of this book

programs/

Contains example programs and demos

solaris/

Contains shell scripts for installing the Java 2 SDK, Java 3D, OpenGL, and any necessary patches on Solaris systems

win32/

Contains executable files for installing the Java 2 SDK and Java 3D on Windows systems

G.2 Installing the Software on Windows 95/98/NT Systems

G.2.1 Requirements for Windows Systems

The system on which the contents of the CD-ROM are installed should have

This version of Java 3D for Windows 95/98/NT requires OpenGL from Microsoft or a hardware accelerator that supports OpenGL 1.1 (or later). If you do not have OpenGL installed on your system, contact your hardware vendor or download OpenGL from:

http://www.opengl.org/

G.2.2 Installing the Java 2 SDK on Windows Systems

The installation program creates a directory C:\jdk1.2.2 where it puts both the Java 2 SDK and the Java 3D SDK. It also creates a directory C:\Program Files\Javasoft\1.2 where it puts the Java 2 JRE and Java 3D runtime.

To install the Java 2 SDK and Java 3D on a Windows system, follow these steps:

        C:\jdk1.2.2\bin

G.2.3 Installing the Java 3D API on Windows Systems

To install the Java 3D API, follow these steps:

G.2.4 Installing the Javadocs on Windows Systems

The javadocs for Java 3D may be installed on your system for ready access. Alternatively, you may choose to save the disk space by not installing the javadocs and read them directly from the CD-ROM whenever needed (see Section G.4, "Accessing the Documentation from the CD-ROM").

You will need at least 10 megabytes of free disk space to install the Java 3D API javadocs.

The javadocs are stored on the CD-ROM in a compressed (zip) format. To install the javadocs on your system:

To read the javadocs, point your browser to the index.html file in the newly-created html directory.

G.3 Installing the Software on Solaris Systems

G.3.1 Requirements for Solaris Systems

The system on which the contents of the CD-ROM are installed should have

G.3.2 Installing Sun OpenGL 1.2.1 for Solaris

If you do not already have at least Sun OpenGL 1.2 for Solaris on your system, install Sun OpenGL 1.2.1 from the CD-ROM as follows:

G.3.3 Installing Patches on Solaris Systems

Several patches are required to run Java and Java 3D on Solaris. These patches are included on the CD-ROM in the /cdrom/solaris/patches directory. A README file in this directory contains the complete list of patches for Solaris 2.6, Solaris 7, and Solaris 8.

To install the patches for your system, proceed as follows:

To show the installed patches, type the following:

% showrev -p

If you want to install an individual patch, rather than the entire set of patches, proceed as follows:

G.3.4 Installing the Java 2 SDK on Solaris Systems


Note: You must have permission to write files in the directories where you want to install Java and Java 3D. If you do not have this permission, the installation program will run to completion but Java and Java 3D will not be installed.
To install the Java 2 SDK on a Solaris system, follow these steps:

G.3.5 Installing the Java 3D API on Solaris Systems

To install the Java 3D API, follow these steps:

G.3.6 Installing the Javadocs on Solaris Systems

The javadocs for Java 3D may be installed on your system for ready access. Alternatively, you may choose to save the disk space by not installing the javadocs and read them directly from the CD-ROM whenever needed (see Section G.4, "Accessing the Documentation from the CD-ROM").

You will need at least 10 megabytes of free disk space to install the Java 3D API javadocs.

The javadocs are stored on the CD-ROM in a compressed tar format. To install the javadocs on your system:

To read the javadocs, point your browser to the index.html file in the newly-created html directory.

G.4 Accessing the Documentation from the CD-ROM

The javadoc-generated API documentation and the text of this book are included on the CD-ROM in a browsable (html) format. Additionally, the text of this book is included in a PDF format.

A browsable version of the javadocs are available in the /doc/java3d1_2-doc directory on the CD-ROM. Point your browser to the index.html file in this directory to view the Java 3D API documentation.

A browsable version of The Java 3D API Specification (this book) is available in the /doc/j3dbook directory on the CD-ROM. Point your browser to the index.html file in this directory to view the online version of this book. The text of this book is also available in Adobe Acrobat (PDF) format in the /doc directory as j3dbook.pdf. You can download a copy of the Adobe Acrobat Reader from:

http://www.adobe.com/products/acrobat/readstep.html



   The Java 3D API Specification Contents Previous Next Index


Copyright © 2000, Sun Microsystems, Inc. All rights reserved.