import java.util.List;l应该是大写

解决方案 »

  1.   

    yes,a mistake.
    but the problem has nothing to do with this!
    Anyway thanks!
      

  2.   

    I compile the source code and get the *.class.But what's the problem in IE broswer?
    up,up!!!
      

  3.   

    我在我机子上看C:\WINDOWS\JAVA\CLASSES\dajava.cab发现它里面根本没有List这个类
    或者试试java.awt.List
      

  4.   

    Sorry!I just make a type mistake.the error message is:
    exception:java.lang.ClassNotFoundException;java.util.List
    And in the my source code:import java.util.ListCome on!!!
      

  5.   

    use import java.util.*;
    List is a interface.
      

  6.   

    List是jdk1.2以后才有的,而IE只支持1.1以前的Java版本想查到那些类和方法是新版本中才有的可以看JDK的参考文档,凡是1.2以后的类和方法都会有提示Since: 
    JDK1.2 

    Since: 
    JDK1.3 
      

  7.   

    To gtlang78():
    yes,your opinion is sound.I install JDK1.1.8 and it works.
    But how can I run it in JDK1.3 enviroment?
    I has tried the java plugin.but it is not of any use!