Ah... the dangers of Late Night Computing and its evil cousin "Cut and
Paste".

FYI: java -classpath does indeed override system %CLASSPATH%  ;-)
Sorry for the groupspam.
-JM

Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Sunday, August 24, 2003 5:47 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Am I on the wrong path ;-)


I think Jason Morris wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
>
> I added a simple path string to my CLASSPATH environment variable like
this:
>
>       C:\com\morristechnicalsolutions\jess\projectA\test_a\classes\test_a
>
> and I compiled a simple class called Test1.class that resides in the last
> \test_a folder.
>
> When I do an (import test_a.*) statement at the Jess prompt, it returns
> TRUE, but when I try
>
>       (bind ?x (new test_a.Test1))
>
> I get a java.lang.ClassNotFoundError
>

I think this is more of a Java question than a Jess one. If a class
named Test1 is in the package test_a, and the directory test_a is in
...\classes,  then ...\classes belongs on the CLASSPATH, *not*
...\test_a.


---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research        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]
--------------------------------------------------------------------

Reply via email to