<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addClassPath(path1):
 """ Add a path to the java class path"""

    global _CLASSPATHS
    path1=_os.path.abspath(path1)
    if _sys.platform=='cygwin':
        path1=_posix2win(path1)
    _CLASSPATHS.add(str(path1))