|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
JESS: Applethow 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 you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: AppletApplet 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 > you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess- > users@.... > -------------------------------------------------------------------- --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 ejfried@... Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: AppletThe 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 <ejfried@...> 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 > > you@...' > > in the BODY of a message to majordomo@..., > NOT to the list > > (use your own address!) List problems? Notify > owner-jess- > > users@.... > > > > > --------------------------------------------------------- > Ernest Friedman-Hill > Informatics & Decision Sciences Phone: > (925) 294-2154 > Sandia National Labs FAX: (925) > 294-2234 > PO Box 969, MS 9012 > ejfried@... > Livermore, CA 94550 > http://www.jessrules.com > > > > > > To unsubscribe, send the words 'unsubscribe > jess-users you@...' > in the BODY of a message to majordomo@..., > NOT to the list > (use your own address!) List problems? Notify > owner-jess-users@.... > -------------------------------------------------------------------- > > ____________________________________________________________________________________ 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 you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: AppletWait, 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 <ejfried@...> 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 >>> you@...' >>> in the BODY of a message to majordomo@..., >> NOT to the list >>> (use your own address!) List problems? Notify >> owner-jess- >>> users@.... >>> >> > -------------------------------------------------------------------- >> >> > --------------------------------------------------------- >> Ernest Friedman-Hill >> Informatics & Decision Sciences Phone: >> (925) 294-2154 >> Sandia National Labs FAX: (925) >> 294-2234 >> PO Box 969, MS 9012 >> ejfried@... >> Livermore, CA 94550 >> http://www.jessrules.com >> >> >> >> >> > -------------------------------------------------------------------- >> To unsubscribe, send the words 'unsubscribe >> jess-users you@...' >> in the BODY of a message to majordomo@..., >> NOT to the list >> (use your own address!) List problems? Notify >> owner-jess-users@.... >> > -------------------------------------------------------------------- >> >> > > > > > ______________________________________________________________________ > ______________ > 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 > you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess- > users@.... > -------------------------------------------------------------------- --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 ejfried@... Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: AppletI've got several .class files, a directory with some images used to create a graphical interface (playing cards), two .clp files in which i define templates, facts and rules (I execute them with 'batch' ). That pretty much sums it up.
I gave up the idea of archiving the files in a .jar, just to make sure there won't be any mistakes I make. The HTML file is in the same directory as the .class and .clp files. All files are run on a local computer (so there's no problem accessing them). Ernest Friedman-Hill <ejfried@...> wrote: 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! > > width="500" height="320"> > 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 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 >> >> >> width="500" >> height="320"> >> >> >> 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 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 >>> you@...' >>> in the BODY of a message to majordomo@..., >> NOT to the list >>> (use your own address!) List problems? Notify >> owner-jess- >>> users@.... >>> >> > -------------------------------------------------------------------- >> >> > --------------------------------------------------------- >> Ernest Friedman-Hill >> Informatics & Decision Sciences Phone: >> (925) 294-2154 >> Sandia National Labs FAX: (925) >> 294-2234 >> PO Box 969, MS 9012 >> ejfried@... >> Livermore, CA 94550 >> http://www.jessrules.com >> >> >> >> >> > -------------------------------------------------------------------- >> To unsubscribe, send the words 'unsubscribe >> jess-users you@...' >> in the BODY of a message to majordomo@..., >> NOT to the list >> (use your own address!) List problems? Notify >> owner-jess-users@.... >> > -------------------------------------------------------------------- >> >> > > > > > ______________________________________________________________________ > ______________ > 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 > you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess- > users@.... > -------------------------------------------------------------------- --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 ejfried@... Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@... |
| Free Forum Powered by Nabble | Forum Help |