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 folder as the manual says there is)
 
(batch examples\fullmab.clp)
 
and I also try
 
(batch \Jess61p6\examples\fullmab.clp)
 
and always get a response like:
 
Jess reported an error in routine batch while executing (batch \Jess61p6\examplesfullmab.clp)
at line 1.
Nested exception is:
\jess61p6examplesfullmab.clp (The system cannot find the file specified)
 
along with a java stack trace.
 
Not that the backslash is missing from the reported line: examplesfullmab versus what I typed: examples\fullmab
 
When type java -classpath jess.jar jess.Main examples/fullmab.clp into the JessEditor and send to JessWin I get
 
Jess> java -classpath jess.jar jess.Main examples/fullmab.clp
java
Jess> -classpath
Jess> jess.jar
Jess> jess.Main
Jess> examples/fullmab.clp
 
and nothing else happens anywhere on the screen.
 
 
I tried several of the examples and all give the same result.
 
 
 
thoughts?
 
Is there a proven step by step tutorial out there that leads one through the steps in this?
 
 
 
 
----- Original Message -----
Sent: Wednesday, March 24, 2004 11:36 AM
Subject: Re: JESS: Newbie Problem running Jess

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 app as it will be my primary app I use in my new job!
 
Thanks for the patience!
 
Mike
 
----- Original Message -----
Sent: Wednesday, March 24, 2004 10:56 AM
Subject: RE: JESS: Newbie Problem running Jess

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 off
java -classpath d:\download\jessse\jess61p4\jess.jar jess.Main %1
 
Now I can run from anywhere.
 
Good luck
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knapik
Sent: Wednesday, March 24, 2004 11:32 AM
To: [EMAIL PROTECTED]
Subject: JESS: Newbie Problem running Jess

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 opened the CommandPrompt and cd'd to C: and
tried to execute java jess.Main and got:
 
Exception in thread "main" java.lang.NoClassDefFoundError: jess/Main
 
instead of the welcome banner etc.
 
Thoughts?
 
Mike
 
 
 

Reply via email to