From: <bri...@ma...> - 2001-11-24 02:45:19
|
Dear developers, I have checked the user forums and FAQs but, perhaps due to my own incompetence, I have not found an explanation to overcome a serious problem I have encountered using Jython 2.2 on Mac OSX 10.1.1. Each time I launch Jython, Jython reads in the jars in the classpath and tries, unsuccessfully, to cache them (somewhere I do not know). Because of this failure, each time I launch Jython it tries again in vain to cache the jars polluting standard out with its failures and corrupting the return values to Applescript when I launch Jython using a Shell OSAX ( DLL that allows Applescirpt to execute Unix shell commands and read their returns). I find this very frustrating since I use Jython to give Applescript a GUI interface that is both easy to use and quasi-standard in that it is Java Swing. I have provided the output below to aid you if it helps. I would appreciate any advice you could give to tell me where the jars are cached since I believe it is a permissions problem that prevents them from being effectively cached. Or perhaps you have another idea? Regards, Daniel Lord [localhost:/Users/daniello/bin] root# jython1 jython1.py *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/classes. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/classes. jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/ui.jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/ui.jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/i18n.jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/i18n.jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/sunrsasign. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes/sunrsasign. jar' *sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/CoreAudio.jar' *sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/CoreAudio.jar' *sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/QTJava.zip' *sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/QTJava.zip' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jcert. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jcert. jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jnet. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jnet. jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jpda. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jpda. jar' *sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jsse. jar' *sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext/jsse. jar' |