我刚重新安装一下系统,我在命令提示符证实了java安装路径完全正确!然后我发现以前的java文件不能默认用Jcreator打开?打开方式中也找不到Jcreator这个程序!
郁闷,我是菜鸟啊!还有我先打开Jcreator,打开以前的文件(以前调试过,绝对没问题),出现了E:\rili.java:29: 找不到符号
类:st  方法 InputStreamReader(java.io.InputStream)
完整的程序是
import java.io.*;
class putout{
 public void putout(int f,int x,int y){
    int i;
  int a[]= new int[40]; 
  System.out.println(" 日   一   二    三   四   五   六 "+"   "+f+"月");
  for (i=0;i<x;i++)
  {System.out.print("     "); }
   for(i=x;i<x+y;i++)
    a[i]=i-x+1;
   for(i=x;i<x+y;i++)
 {
  if (i%7==0)
   System.out.print("\n");
  if (a[i]<10)
  System.out.print("    "+a[i]);
  else
 System.out.print("   "+a[i]);
}
System.out.println("\n");

}
class st{
public static void main(String args[])throws IOException{
 putout p=new putout();
 int year,mouth,y=1,t,i;
InputStreamReader ir;
BufferedReader in;
in=new BufferedReader(InputStreamReader(System.in));
System.out.println("请输入一个年份");
String s=in.readLine();
year=Integer.parseInt(s);
if((year%4==0 && year%100!=0)||(year%400==0))
 mouth=1;
else
mouth=0;
y=year;
for(i=1;i<year;i++)
 {if((i%4==0 && i%100!=0)||(i%400==0))
 y++;}
 y=y%7;
 for(i=1;i<13;i++){
  switch(i){
  case 1: {p.putout(1,y,31);y=(y+31)%7;break;}
  case 2: {p.putout(2,y,28+mouth);y=(y+28+mouth)%7;break;}
  case 3: {p.putout(3,y,31);y=(y+31)%7;break;}
  case 4: {p.putout(4,y,30);y=(y+30)%7;break;}
  case 5: {p.putout(5,y,31);y=(y+31)%7;break;}
  case 6: {p.putout(6,y,30);y=(y+30)%7;break;}
  case 7: {p.putout(7,y,31);y=(y+31)%7;break;}
  case 8: {p.putout(8,y,31);y=(y+31)%7;break;}
  case 9: {p.putout(9,y,30);y=(y+30)%7;break;}
  case 10: {p.putout(10,y,31);y=(y+31)%7;break;}
  case 11: {p.putout(11,y,30);y=(y+30)%7;break;}
  case 12: {p.putout(12,y,31);y=(y+31)%7;break;} 
}
}
}
}这只其中一个  其他也那样   就是InputStreamReader(java.io.InputStream)出问题  
大家帮帮忙!!!