检查其他的机器是否安装了JAVA虚拟机,如果你的APPLET用到了高版本的东西,就必须使用高版本的JVM

解决方案 »

  1.   

    not found 的类是那个类?你是否用了jmf, java3D什么的,估计还是版本问题。
      

  2.   

    我估计是版本问题,还有你可能用的是ie6,你下载一个jdk安装,同时jvm,jre也安装上了。
      

  3.   

    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    import java.io.*;public class Look extends Applet implements Runnable{
      Thread ro=new Thread(this,"showlook");  URL url;
      URLConnection urlc;  String txt = new String();
      String lurl;  InputStream is;
      int i;  java.awt.Label
          jl=new Label("Loading ...");  public Look(){
        this.setLayout(new BorderLayout());
        jl.setBackground(Color.white);
        jl.setFont(new Font("宋体",0,12));
        jl.setForeground(Color.red);
      }  public void init(){
        lurl=this.getParameter("url");
        add(jl,BorderLayout.CENTER);
      }  public void start(){
        ro.start();
      }  public void run(){
          while (true) {
            try{
              Thread.sleep((int)(Math.random()*5000));
            }catch(InterruptedException e){}        try {
              txt="  ";
              url = new URL("http://"+lurl+":8080/File/Data.jsp");
              urlc = url.openConnection();
              urlc.connect();          is = urlc.getInputStream();
              i = is.read();
              while (i != -1) {
                txt = txt + (char) i;
                i = is.read();
              }          is.close();
            }
            catch (IOException ioe) {}          jl.setText(txt);
          }
      }}这个源代码
    大家看看有什么问题
      

  4.   

    用的什么操作系统?jdk版本是什么?html和包错信息贴出来!
      

  5.   

    在我本机上好地地的但在其它机器上面,就显示load:class Look not found
      

  6.   

    怎样知道客户机是否安装了jvm