Hi Bert,

-Very- strange! Javac is deciding (for some odd reason) that in some
of your source files, but not others, "String" means a (mythical)
class named "jess.String". No idea why this is happening for you;
something must be wedged, somehow. This sounds like the sort of case
where you should unset your CLASSPATH variable, delete all the .class
files in jess/, and try again.

In any event, JDK 1.2.2 works fine for me, as I suspect it does for
many other folks.

I think Bert Hinrichs wrote:
> The web page says that there are no compiler issues known.  I receive
> several
> method overload errors when using jdk1.2.2 on win32.
> 
> Here is a sample:
> [D:/Jess/Jess50] make
> d:/java/jdk1.2.2/bin/javac   jess\Main.java
> .\jess\Deffunction.java:31: The method java.lang.String getName()
> declared in cl
> ass jess.Deffunction cannot override the method of the same signature
> declared i
> n interface jess.Userfunction.  They must have the same return type.
>   public final String getName() { return m_name; }
>                       ^
> .\jess\Rete.java:1286: Class jess.String not found in jess.Userfunction
> addUserf
> unction(jess.Userfunction).
>     if ((fh = (FunctionHolder) m_functions.get(uf.getName())) != null)
>                                               ^
> .\jess\Rete.java:1290: Class jess.String not found in jess.Userfunction
> addUserf
> unction(jess.Userfunction).
>     m_functions.put(uf.getName(), fh);
>                    ^
> .\jess\Defrule.java:303: The method jess.String toString() declared in
> class jes
> s.Defrule cannot override the method of the same signature declared in
> class jav
> a.lang.Object.  They must have the same return type.
>   public String toString()
>                 ^
> .\jess\Activation.java:104: The method jess.String toString() declared
> in class
> jess.Activation cannot override the method of the same signature
> declared in cla
> ss java.lang.Object.  They must have the same return type.
>   public String toString()
>                 ^
> .\jess\JessTokenStream.java:153: The method jess.String toString()
> declared in c
> lass jess.JessTokenStream cannot override the method of the same
> signature decla
> red in class java.lang.Object.  They must have the same return type.
>   public String toString()
>                 ^
> .\jess\JessToken.java:79: The method jess.String toString() declared in
> class je
> ss.JessToken cannot override the method of the same signature declared
> in class
> java.lang.Object.  They must have the same return type.
>   public String toString()
>                 ^
> make: 'jess/Main.class' removed.
> 
> 
> Am I missing something obvious?  jdk1.2.2 seems to work fine with
> everything
> else I have.
> 
> Thanks
> 
> Bert
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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