Dear Michael,
You can set the path and execute by following the steps below,
C:\>set path=c:\j2sdk1.4.0\bin;C:\Jess61p6;.
C:\>set classpath=c:\j2sdk1.4.0\bin;.C:\Jess61p6\jess.jar;
C:\>cd jess61p6
C:\Jess61p6>java jess.Main examples/fullmab.clp
Jess, the Java Expert System Shell
Copyright (C) 20
Title: RE: JESS: Newbie Problem running Jess
> As an aside, Jess actually *can* execute operating-system commands for
> you using the "system" command:
>
> Jess> (system java -classpath jess.jar jess.Main examples/fullmab.clp)
>
> would run the example in a new Java Virtual Machine, which wou
Take a closer look at this line that you are using an example:
Jess> (system java -classpath jess.jar jess.Main examples/fullmab.clp)
You said you typed:
(system java -classpath jess.jar jessMain Jess61p6/examples/fullmab.clp)
And this is the error you got:
java.lang.NoClassDefFoundError: jessMain
One more attempt to resolve this please
> As an aside, Jess actually *can* execute operating-system commands for
> you using the "system" command:
>
> Jess> (system java -classpath jess.jar jess.Main examples/fullmab.clp)
>
> would run the example in a new Java Virtual Machine, which would then
>
I think Michael Knapik wrote:
>
> OK - I tried both of the below commands and get the same error as before on
> the second one. The first one runs ok.
>
>
> Jess> (batch Jess61p6/examples/fullmab.clp)
>
> Jess> (batch examples/fullmab.clp)
>
So presumably your current directory is the one th
Thanks for the explanations, but I still have a problem - see embedded
comments herein.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 2:25 PM
Subject: Re: JESS: Newbie Problem running Jess
> I think Michael Knapik wrote:
> [Charse
[snipped because my mail program doesn't handle HTML well]
> Note that the backslash is missing from the reported line: examplesfullmab versus
> what I typed:
> examples\fullmab
Did you try it with a forward slash instead? As in:
(batch examples/fullmab.clp)
> When type java -classpath jess.jar
I think Michael Knapik wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> MessageWell, I am back.
>
>
> At the Jess> prompt in the command prompt window I type (there is no
> "sticks" example in my examples folder as the manual says there is)
You're correct, the sticks demo hasn't
Title: Message
Well, I am back.
This time I am going through the examples in the
manual using either the cmd prompt or JessWin and in each case the examples get
various errors.
Example,
At the Jess> prompt in the command prompt window
I type (there is no "sticks" example in my examples
Hi Ernest.
I'm not certain that I understand what you've resolved here (i.e., that you think that
'name' COULD be used as an attribute or that you plan to use the 'name' attribute in
the future) ... but my own preference would be NOT to create a name attribute.
The design decision between attri
I saw where I did not include the /Jess before
/Jess61 and my install placed the files in Jess61p6 as well; guess the
book/readme was a bit out of sync and I should have noticed.. Now I get
the banner. Thanks!
- Original Message -
From:
Mitch Christensen
To: [EMAIL P
Title: Message
Understood. I fixed the path and CLASSPATH vars.
The book instructions and where the download ended up were a bit different. I
should have noticed.
I also installed Jess and got it
running.
Thanks all I presume I will be asking more
questions as I continue learning this a
I think Alan Moore wrote:
> >
> > The "slot-specific" declaration for templates
> So how does this work for defclass? Can we supply a declare section in the
> defclass and it will be propagated to the generated deftemplate or do we
> need to create another deftemplate that extends the defclass?
>
My environment variables are:
User
Path
c:\j2sdk1.4.2_04\bin;c:\Sun\AppServer\bin;.;C:\Jess61\jess.jar
User
CLASSPATH
;.;C:\Jess61\jess.jar
System
Path
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Sonic\MyDVD;C:\Program Files\Common Files\Adaptec
Shared\
Title: Message
Try
the whole relative path or ensure you are in the directory where Jess is
installed.
I
created a batch file to save me the headache and named it
jess.bat
@echo
offjava -classpath d:\download\jessse\jess61p4\jess.jar jess.Main
%1
Now I
can run from anywhere.
Good
>I downloaded and unpacked Jess to C:\Jess.
>I added the path info in your book (;.;C:\Jess61\jess.jar)
You mention that you installed it to c:\jess, but added c:\jess61 to your
path. My guess is that the problem is there.
-m
Title: RE: JESS: Re: Charlemagne engine preview
>> Also, is there any pre-release documentation on the use of the
>> "single-slot-activation" feature?
>
>Download the software, and look in the release notes from the manual:
>
> The "slot-specific" declaration for templates. Deftemplate
> d
Try
renaming C:\Jess to C:\Jess61 or CD to C:\Jess.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Michael
KnapikSent: Wednesday, March 24, 2004 9:32 AMTo:
[EMAIL PROTECTED]Subject: JESS: Newbie Problem running
Jess
I downloaded and un
I downloaded and unpacked Jess to
C:\Jess.
I have the recent java SDK from Sun
installed in c:\j2sdk1.4.2_04
I am running XP Pro.
I added the path info in your book
(;.;C:\Jess61\jess.jar) to both the Path system variable, the Path User Variable
and a new CLASSPATH user variable.
I o
I think Alan Moore wrote:
>
>
> MAIN
>
> foo
>
>
>
> This is obviously more verbose and cumbersome for humans but might be better
> suited to automation of various sorts (e.g. XSL transforms, DTD/Schema
> validation, etc.) The content model of attributes is ra
20 matches
Mail list logo