在Windows2000中,可以采用:环境变量-》系统变量:加ClassPath   然后值为路径:
在Windows9x中,可以采用:autoexec.bat里加  set classPath=...或者直接在编译、执行时使用-classpath参数