我是个新手,刚装了JCreator用.可是在编译的时候老是会报duplicate class错误.
是不是还要配置哪些?还是系统问题.我用的是XP 个人版的.

解决方案 »

  1.   

    Packages are used to separate namespaces. You're deliberately causing yourself grief by removing them.Somewhere in your CLASSPATH, the class you're having trouble with is already defined in the default package. By removing the package statement from the code you're compiling, you're colliding with it. Stop that.
      

  2.   

    环境变量中的path和classpath那里应该赋什么值?
      

  3.   

    鬼晓得你怎么配的,JCreator这种石器时代的工具谁还用。还不如用记事本呢。Eclipse吧。