O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Setup

These functions are used to interact with a Java Virtual Machine, Java classes, and the Java-to-Objective-C bridge.

NSJavaBundleCleanup

void NSJavaBundleCleanup(NSBundle *bundle, NSDictionary *plist)

NSJavaBundleSetup

id NSJavaBundleSetup(NSBundle *bundle, NSDictionary *plist)

NSJavaClassesForBundle

NSArray *NSJavaClassesForBundle(NSBundle *bundle, BOOL usesyscl, id *vm)

NSJavaClassesFromPath

NSArray *NSJavaClassesFromPath(NSArray *path, NSArray *wanted, BOOL usesyscl, id *vm)

NSJavaNeedsToLoadClasses

BOOL NSJavaNeedsToLoadClasses(NSDictionary *plist)

NSJavaNeedsVirtualMachine

BOOL NSJavaNeedsVirtualMachine(NSDictionary *plist)

NSJavaObjectNamedInPath

id NSJavaObjectNamedInPath(NSString *name, NSArray *path)

NSJavaProvidesClasses

BOOL NSJavaProvidesClasses(NSDictionary *plist)

NSJavaSetup

id NSJavaSetup(NSDictionary *plist)

NSJavaSetupVirtualMachine

id NSJavaSetupVirtualMachine(void)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required