def get_classpath():
    "Retrieves the classpath the JVM will use."
    from os import environ
    from os.path import realpath
    global classpath

    if classpath is not None:
        return list(classpath)

    if 'CLASSPATH' in environ:
        return environ['CLASSPATH'].split(split_char)

    return [realpath('.')]
Retrieves the classpath the JVM will use.
product/runtime/src/main/python/java/config.py