From: Steven D. M. <sd...@vi...> - 2001-02-26 21:20:26
|
Nevermind -- found them. They're not in a jar and they're not in: /System/Library/Frameworks/JavaVM.framework/Classes with the other java, com.sun & com.apple classes, but in separate class files in /System/Library/Java. ls /System/Library/Java/com/apple/ cocoa misc net security util % cd jython-2.0/ % setenv CLASSPATH /System/Library/Java/ % ./jython Jython 2.0 on java1.2.2 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import com.apple >>> dir() ['__doc__', '__name__', 'com'] >>> dir(com.apple) ['__name__', 'buckyball', 'cocoa', 'jdirect', 'misc', 'mrj', 'net', 'scripting', 'security', 'util'] >>> from com.apple.cocoa import foundation >>> foundation.NSBundle.allFrameworks() [ ... bunch os error messages from having no autoreleasePool class NSCFString autoreleased with no pool in place - just leaking Feb 26 16:17:49 java[420] *** _NSAutoreleaseNoPool(): Object 0x8928350 ... ] ( NSBundle </System/Library/Frameworks/Foundation.framework> (loaded), NSBundle </usr/lib/java> (loaded), NSBundle </usr/lib> (loaded), NSBundle </System/Library/Frameworks/JavaVM.framework> (loaded) ) >>> -- Steve |