Wait, the "jess.Console" tag works, but you're saying you've written a *different* applet, and you're having trouble with that one? Is the problem that you've got multiple jar files, or some jar files and some class files? You need to specify all the jar files in a list, like

code="MyAppletClass" archive="jess.jar,foo.jar,bar.jar"



On Apr 21, 2008, at 5:17 AM, Pandichi Alin-Ionut wrote:

The Java plugin is there!
<applet archive="jess.jar" code="jess.ConsoleApplet"
width="500"  height="320"> </applet>
This one works.

However, mine doesn't. It still throws
java.lang.NoClassDefFoundError: jess/JessException and
Caused by: java.lang.ClassNotFoundException:
jess.JessException

I am sorry that I'm being such a noob and using old
school techniques, but I won't be able to advance much
if I can't get one simple applet running. It's not the
Java part that gives me the trouble, it's the Jess
part. It seems like the applet doesn't "know" what
Jess is. Running it from Eclipse gives no error. So
it's not the coding. Running it in a browser... That's
different thing. So, please... How do I do it?

--- Ernest Friedman-Hill <[EMAIL PROTECTED]> wrote:

Applet tags are a whole science unto themselves; the
Java plugin
documentation shows how to write a complicated tag
which offers to
download the Java plugin if it's not installed. But
just using the
classic tag with recent values of Jess, and simply
assuming that the
plugin is there, you'd do something like

<applet archive="jess.jar" code="jess.ConsoleApplet"
width="500"
height="320">
</applet>

But my goodness, man, it's 2008. I don't see much
need to be using
that old chestnut.



On Apr 20, 2008, at 4:15 AM, Pandichi Alin-Ionut
wrote:

how exactly am i supposed to write the HTML file
for
an applet that uses jess?
using an <applet code=...> tag throws me this:
java.lang.NoClassDefFoundError: jess/JessException
and
Caused by: java.lang.ClassNotFoundException:
jess.JessException





______________________________________________________________________

______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.
http://

mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe
jess-users
[EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED],
NOT to the list
(use your own address!) List problems? Notify
owner-jess-
[EMAIL PROTECTED]


--------------------------------------------------------------------


---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone:
(925) 294-2154
Sandia National Labs                FAX:   (925)
294-2234
PO Box 969, MS 9012
[EMAIL PROTECTED]
Livermore, CA 94550
http://www.jessrules.com





--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe
jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED],
NOT to the list
(use your own address!) List problems? Notify
[EMAIL PROTECTED]

--------------------------------------------------------------------





______________________________________________________________________ ______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http:// mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess- [EMAIL PROTECTED]
--------------------------------------------------------------------

---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com




--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to