--- jython-2.2.1.svn/src/org/python/core/PySystemState.java 2007-10-13 20:44:01.000000000 +0200 +++ jython-2.2.1.svn/src/org/python/core/PySystemState.java-gil 2009-02-22 02:30:58.000000000 +0100 @@ -555,7 +555,13 @@ } cachedir = new File(props.getProperty(PYTHON_CACHEDIR, CACHEDIR_DEFAULT_NAME)); if (!cachedir.isAbsolute()) { - cachedir = new File(PySystemState.prefix, cachedir.getPath()); + File jythondir = new File(System.getProperty("user.home"), ".jython-cache"); + + if (!jythondir.isDirectory()) { + jythondir.mkdirs(); + } + + cachedir = new File(jythondir, cachedir.getPath()); } }