Hello,
 
I want to try running an applet. The compiling has no problem but when i try to run it in Internet Explorer as an applet, it gives me the following error.
 
java.lang.NoClassDefFoundError: jess/JessException
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
 at java.lang.Class.getConstructor0(Class.java:1748)
 at java.lang.Class.newInstance0(Class.java:266)
 at java.lang.Class.newInstance(Class.java:249)
 at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
 at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
 at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
 at sun.applet.AppletPanel.run(AppletPanel.java:290)
 at java.lang.Thread.run(Thread.java:536)
I've already set the classpath good because everything else for jess works.
 
Here is a small example of an applet that doesn't want to run on my computer
 
import jess.*;
import java.awt.*;
import java.applet.*;
 
public class Applet1 extends Applet
{
 public void init()
 {
  try{
   Rete engine = new Rete();
   engine.executeCommand("(reset)");
  }
  catch (JessException je) {}
 }
}
 
Vanmoerkerke Frederik

Reply via email to