Name

java: the JavaPackage for the java.* package hierarchy — LiveConnect

Synopsis

java

Description

In JavaScript implementations that include LiveConnect or other technology for scripting Java, the global java property is a JavaPackage object that represents the java.* package hierarchy. The existence of this property means that a JavaScript expression such as java.util refers to the Java package java.util. For Java packages that do not fall in the java.* hierarchy, see the global Packages property.

See Also

JavaPackage, Packages; Chapter 12

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.