Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Some lines may not be required?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Some lines may not be required?
Authored by: Anonymous on Mar 28, '04 12:48:39AM

One thing I have found is that these lines

// Load the Java VM
id vm = NSJavaSetupVirtualMachine();

// Start the Java class loader
NSJavaClassesFromPath(nil, nil, YES, &vm);

don't seem to be necessary in a cocoa application.

At least I don't have them to my knowledge and things seem to work fine. Although that is under Jaguar 10.2 rather than Panther 10.3

Instead I just add a new cocoa java class and type away, then call the methods or create classes as described from objective C.



[ Reply to This | # ]