|
From: Samuele P. <pe...@in...> - 2001-10-18 15:39:51
|
Hi 1. I know nothing about gcj rt. 2. I know a little about jython rt ;) a) Unless you pass an explicit python.home property (in the sense of System.getProperty) to jython rt and if there is no real jython.jar, jython is unable to locate the Lib dir and put it in sys.path and to find the global registry. A user-specific .jython registry can be used as a workaround. b) Does gcj has the java.class.path property somehow set. Jython rt tries to scan the jars and dirs on classpath in order to list the java packages that are candidate for loading. Given what you describe it seems that gcj classpath is empty or contain at most the cwd. When you put the java symlink in the cwd you enable jython to do its scan. At the moment there is no direct workaround wrt to gcj setting, which - it seems - does not implement/need a proper classpath for classes that can be/are linked. regards. |