File file = new File(path);
    if(!file.exists())
    {
      System.out.println("error: Path not Existed! Please Check it out!");
      return;
    }
    String[] filelist = file.list();
    for(int i = 0;i< filelist.length;i++)
    {
      File temp = new File(path + filelist[i]);
      if((temp.isDirectory() && !temp.isHidden() && temp.exists()))
      {
        FindClassInLocalSystem(path + filelist[i],classname);
      }
      else
      {
            for (Enumeration e = jarfile.entries() ; e.hasMoreElements() ;)
            {
              String name =e.nextElement().toString();
                System.out.println("No." + ++fclass.count);
                System.out.println(path + filelist[i]);
                System.out.println(name);
              }
            }
          }
          catch(Exception e){ }
      }
自己去整理,调试。想输出啥就输出啥。