[Chapter 21] Reference: Packages.sun
Author: David Flanagan
Date: Fri Aug 29 11:18:50 1997

#

| Chapter 21 JavaScript Reference |

# Packages.sun Property

## Name

Packages.sun Property---root of the Java packages from Sun Microsystems

## Availability

Navigator 3.0

## Synopsis

    Packages.sun

## Description

The `sun` property of the `Packages` object is a JavaPackage that contains each of the packages that comprise the sun.* class library from Sun Microsystems. These packages are shipped with Sun's Java implementation, but are not an official part of the Java language, and so using these packages may make your programs less portable.

## Usage

You can use the "global" `sun` property anywhere you would use `Packages.sun`.

## See Also

"JavaPackage", "Packages"

Packages.netscape |  | parent