Java Support

Interact with the Java virtual machine.

Topics

Java Setup Functions

NSJavaBundleCleanup

This function has been deprecated.

NSJavaBundleSetup

This function has been deprecated.

NSJavaClassesForBundle

Loads the Java classes located in the specified bundle.

NSJavaClassesFromPath

Loads the Java classes located at the specified path.

NSJavaNeedsToLoadClasses

Returns a Boolean value that indicates whether a virtual machine is needed or if Java classes are provided.

NSJavaNeedsVirtualMachine

Returns a Boolean value that indicates whether a Java virtual machine is required.

NSJavaObjectNamedInPath

Creates an instance of the named class using the class loader previously specified at the given path.

NSJavaProvidesClasses

Returns a Boolean value that indicates whether Java classes are provided.

NSJavaSetup

Loads the Java virtual machine with specified parameters.

NSJavaSetupVirtualMachine

Sets up the Java virtual machine.

Java Setup Notification Names

Notifications sent by the Java bridge to registered observers when a virtual machine is created and initialized.

NSJavaWillSetupVirtualMachineNotification

Notification sent before the Java virtual machine is set up.

NSJavaDidSetupVirtualMachineNotification

Notification sent after the Java virtual machine is set up.

NSJavaWillCreateVirtualMachineNotification

Notification sent before the Java virtual machine is created.

NSJavaDidCreateVirtualMachineNotification

Notification sent after the Java virtual machine is created.

See Also

Legacy

Distributed Objects Support

Enable communication among objects in different processes, both locally and on remote systems.

Objective-C Garbage Collection

Interface with the legacy garbage collection system.

NSZone

A type used to identify and manage memory zones.