Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

 

Summary

Any class in the Java package sun.*.

Property of Packages
Implemented in: JavaScript 1.1, NES2.0

Syntax

Packages.sun

Description

Use the sun property to access any class in the sun package from within JavaScript. Note that the top-level object sun is a synonym for Packages.sun.

Document Tags and Contributors

 Contributors to this page: fscholz, Sevenspade, Callek, Maian, Marcoos, Dria
 Last updated by: fscholz,