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:
> [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 been included in the last few
> releases. Software distributions do change, although in this case it
> was an oversight that I can correct in the future. Thanks for pointing
> it out.
>
> Regarding the Jess61 vs Jess61p6 difference: note that at the bottom
> of page 33, the book makes a special effort to describe this directory
> name as "JessXX" and clearly states that the value of XX changes over
> time. Note, also, that if you follow the instructions in the manual,
> rather than the book, then the Jess version number matches the version
> of the software you've obtained.
>
>
> > Jess> (batch \Jess61p6\examples\fullmab.clp)
> ...
> > Nested exception is:
> > \jess61p6examplesfullmab.clp (The system cannot find the file specified)
> >
>
> Since you're expecting the manual to exactly match what you need to
> type and what happens in response, then you need to type exactly what
> the manual says. Note that the examples of using the batch function in
> manual section 1.6.3 use a forward slash "examples/fullmab.clp", not a
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)
Yet my classpath is set as you instructed as follows
USER var
CLASSPATH
;.;C:\Jess\Jess61p6\jess.jar
Path
c:\j2sdk1.4.2_04\bin;c:\Sun\AppServer\bin;.;C:\Jess\Jess61p6\jess.jar
System var
Path
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Sonic\MyDVD;C:\Program Files\Common Files\Adaptec
Shared\System;C:\MSSQL7\BINN;C:\Program Files\ATI Technologies\ATI Control
Panel;C:\j2sdk1.4.2_04\bin;.;C:\Jess\Jess61p6\jess.jar
Why isn't Jess recognizing the /examples items when the relative path is
specified (".")?
> backward one. Backslashes have a special meaning in Jess (as they do
> in virtually all programming languages, with the singular unfortunate
> exception of the DOS command prompt "language.") Note that the
> documentation for "batch" (see
> http://herzberg.ca.sandia.gov/jess/docs/61/functions.html#batch)
> discusses this very issue and presents several approaches.
>
> >
> > 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
>
> You've typed an operating-system command line to Jess. Jess sees a
> string of symbols, which is dutifully echoes back to you.
OK
>
> 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
> exit, returning you to original Jess command prompt.
I tried this at my Jess prompt and get
java.lang.NoClassDefFoundError: Jess/Main
Exception in thread "main" <External-Address:java.lang.Win32Process>
and the Jess prompt returns. Nothing appears to have ran.
>
> >
> > I tried several of the examples and all give the same result.
>
> The book and the manual make an attempt to distinguish
> operating-system commands from Jess commands by showing things typed
> to Jess in context with a Jess prompt. All command lines starting with
> "java" are intended for the operating system rather than for Jess. In
> addition, in the book I use (most of the time anyway) a DOS prompt
> like "C:\>" or similar to indicate OS commands. In later chapters I
> abandon the pretense of using a Windows machine and start showing
> Linux system prompts instead.
>
> > Is there a proven step by step tutorial out there that leads one
> > through the steps in this?
>
> The Jess manual is actually generated from XML source. The examples
> are written in such a way that they can be mechanically extracted,
> run, and compared against the given result. So I can say with 100%
> confidence that all the code examples in the manual will work exactly
> as shown.
>
> It sounds like you're coming up to speed on Java, Jess, and the DOS
> command line all at the same time. That's a lot to digest all at
> once. Just relax and take your time -- you'll get through just fine.
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Science and Engineering PSEs Phone: (925) 294-2154
> Sandia National Labs FAX: (925) 294-2234
> PO Box 969, MS 9012 [EMAIL PROTECTED]
> Livermore, CA 94550 http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> 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]
> --------------------------------------------------------------------
>
>
--------------------------------------------------------------------
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]
--------------------------------------------------------------------