ms不支持可能,java时ms的死对头,下载java插件试试。

解决方案 »

  1.   

    http://bingle.pku.edu.cn/scripts/ftp_search.exe?cdtype=GB&word=j2re
    去装一个呗
      

  2.   

    http://java.sun.com/getjava/installer.html
    进入可以测试你的IE支不支持JAVA,也可以下载jre1.4
      

  3.   

    你是不是用到了Java 2的东东,比如说你的Applet继承了JApplet。如果是的话,首先必须安装Java 插件,其次,HTML中不能用Applet标签,要用Object标签。JDK提供了一个工具HtmlConverter(在JDK\bin\下),你可以用这个工具将Applet标签的HTML文件自动转换为用Object标签。
      

  4.   

    我的网速太慢了,下不了,jdk中有jre吗,我装的是jdk1.3.0_02
      

  5.   

    装了JDK就安装了JRE的,如果你选择的是默认安装可以在“控制面板”的Java控制台里面打开JRE就可以了
      

  6.   

    dongzi7945(东子) 我上了,我可以看到java动画,但他是用<object>标签做的,而我用<APPLET>做的程序还是没法显示
    yb001.java
    import java.applet.Applet;
    import java.awt.Graphics;
    public class yb001 extends Applet
    {
      public void paint(Graphics g)
      {
        g.drawString("this is my first java Applet",15,20);
      }
    }  yb001.html
    <html>
    <head>
    <title>第二个练习</title>
    </head>
    <body>
    <hr>
    <applet code=yb001.class
            width=300
            height=300>
    </applet>
    </body>
    </html>
      

  7.   

    Exception in thread "main" java.lang.NoSuchMethodError: main
    单独运行yb001.java会出现上面的错误,用appletviewer就可以正确的运行了
      

  8.   

    当然,在你的Applet中加入main才可以啊
      

  9.   

    你用的是什么系统,如果是xp的话,需要去下载一个JVM的插件,到sun网上找吧!但是我原来也是这个问题,下载了插件后就可以了!
      

  10.   

    http://java.sun.com/getjava/installer.html
    我刚进去,我可以看见那个java动画,但在我自已的机子上,我就看不见,显示一个x,就像上有的网站上看不到图片一样
      

  11.   

    如果你是用japplet的,那么需要下载一个插件才可以看到。
    若是一般的applet,看不出来你只有更新jvm试一试!
      

  12.   

    or you used the swing components,IE is not support the swing!
      

  13.   

    我用的就是一般的applet
    Java(TM) 插件: 版本 1.3.0_02
    使用 JRE 版本 1.3.0_02 Java HotSpot(TM) Client VM
    用户主目录 = H:\Documents and Settings\yubing代理配置:没有代理----------------------------------------------------
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    q:   hide console
    s:   dump system properties
    t:   dump thread list
    x:   clear classloader cache
    0-5: set trace level to <n>
    按下s后显示
    ----------------------------------------------------Dump system properties ...
    ---------------------------------------------------
    acl.read = +
    acl.read.default = 
    acl.write = +
    acl.write.default = 
    application.home = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0
    awt.toolkit = sun.awt.windows.WToolkit
    bridge.home = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0
    browser = sun.plugin
    browser.vendor = Sun Microsystems, Inc.
    browser.version = 1.1
    file.encoding = GBK
    file.encoding.pkg = sun.io
    file.separator = \
    file.separator.applet = true
    http.agent = Activator/1.3.0_02
    java.awt.fonts = 
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = .
    java.class.version = 47.0
    java.class.version.applet = true
    java.ext.dirs = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\ext
    java.home = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0
    java.io.tmpdir = H:\DOCUME~1\yubing\LOCALS~1\Temp\
    java.library.path = H:\Program Files\Internet Explorer;.;H:\WINDOWS\System32;H:\WINDOWS;D:\jdk\bin;H:\WINDOWS\system32;H:\WINDOWS;H:\WINDOWS\System32\Wbem;D:\jdk1.3.0_02\bin;H:\Program Files\Internet Explorer;
    java.protocol.handler.pkgs = sun.plugin.protocol.jdk12
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version = 1.3.0_02
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.3
    java.vendor = Sun Microsystems Inc.
    java.vendor.applet = true
    java.vendor.url = http://java.sun.com/
    java.vendor.url.applet = true
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.3.0_02
    java.version.applet = true
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.3.0_02
    javaplugin.classloader.cache.enabled = true
    javaplugin.console = true
    javaplugin.debug.mode = false
    javaplugin.enabled = true
    javaplugin.exception = true
    javaplugin.jit.enabled = true
    javaplugin.jre.path = Default
    javaplugin.jre.type = Default
    javaplugin.maxHeapSize = 128m
    javaplugin.nodotversion = 130_02
    javaplugin.proxy.config.type = direct
    javaplugin.proxy.forallprotocols = false
    javaplugin.proxy.usebrowsersettings = true
    javaplugin.version = 1.3.0_02
    line.separator = \r\n
    line.separator.applet = true
    os.arch = x86
    os.arch.applet = true
    os.name = Windows 2000
    os.name.applet = true
    os.version = 5.1
    os.version.applet = true
    package.restrict.access.netscape = false
    package.restrict.access.sun = true
    package.restrict.definition.java = true
    package.restrict.definition.netscape = true
    package.restrict.definition.sun = true
    path.separator = ;
    path.separator.applet = true
    sun.boot.class.path = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\rt.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\i18n.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\sunrsasign.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\classes;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\jaws.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\tools.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\plugprov.jar;H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\lib\sunrsasign.jar
    sun.boot.library.path = H:\PROGRA~1\JavaSoft\JRE\1325B1~1.0_0\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    trustProxy = true
    user.dir = H:\Documents and Settings\yubing\桌面
    user.home = H:\Documents and Settings\yubing
    user.language = zh
    user.name = yubing
    user.region = CN
    user.timezone = 
    ---------------------------------------------------
    Done.