Embed Java applets on Google Sites

I am trying to run some Java code that I wrote on the Google site I created. I know the problem is with this, but I tried both of the following options:

This does not work. I open the debug console in my Firefox browser and I see that deployJava is undefined.

  • Using the built-in gadget with tags:

    < _applet archive = "http://sites.google.com/site/wimbeep/technology/wimbeeptools.jar" code = "com.fusego.wimbeep.applet.ScreamURLApplet.class" height = "400" width = "400" /" >

. , JRE , , :

load: class com.fusego.wimbeep.applet.ScreamURLApplet.class not found.
java.lang.ClassNotFoundException: com.fusego.wimbeep.applet.ScreamURLApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: com.fusego.wimbeep.applet.ScreamURLApplet.class

. .class postfix , . ?

+3
2

, , sites.google.com. , , .

: ( ) .

  • - Java
  • JWS
  • JAR
+4

, ( ) HTML:

<html>
<head>
<title>WimBeepTools</title>
</head>
<body>
<applet
    code="com.fusego.wimbeep.applet.ScreamURLApplet"
    archive="wimbeeptools.jar"
    width="500"
    height="100">
</applet>
</body>
</html>

HTML Jar , HTML- http://sites.google.com/site/wimbeep/technology/applet001.html, .

001, . , , URL-.

BTW

HTML

< _applet archive = "http://sites.google.com/site/wimbeep/technology/wimbeeptools.jar" code = "com.fusego.wimbeep.applet.ScreamURLApplet.class" height = "400" width = "400" /" >

_, "" HTML? HTML (JNLP/XML/Input/Output & ) . "" />. , .

deployJava.js , . , " HTML" applet.

+2

All Articles