这是取你的用户目录,在Unix下就是/Home/...,Windows下就是C:\Documents and Settings\...你是在什么环境下用的,把错误贴出来看看,也有可能是你的System的user.dir的属性没有设定。