94,97d93 < if os.name == 'java' and os._name == 'nt' and dir.startswith("/") and dir[2] == ':': < # strip out the leading '/' character if we have something like: < # /c:/jython2.5 and turn it into c:/jython2.5 < dir = dir[1:] 188c184 < if sys.platform in ('os2emx', 'riscos') or sys.platform[:4] == 'java': --- > if sys.platform in ('os2emx', 'riscos'): 189a186,189 > elif sys.platform[:4] == 'java': > # Jython may store site-packages within a JAR file, so sys.prefix > # won't suffice > sitedirs = [os.path.join(os.path.split(__file__)[0], 'site-packages')]