Jikes, unlike javac, doesn't come with its own set of core classes;
you have to tell it where they are. The error message below says that
Jikes can't find the java.util package, and it lists the only jar
files you've given it to look in, neither of which should contain
java.util. The file rt.jar is the one you need.
If the two Swing jar files are indeed needed -- i.e., if you're going
to use this particular version of Swing, rather than the version that
comes with the JDK, and if you actually want to use it in the first
place, since Jess doesn't use Swing at all -- then your classpath
should be
.;/cygdrive/c/jdk1.2.2/jre/lib/rt.jar;/cygdrive/c/jdk1.2.2/swing1.1.1/swingall.jar;/cygdrive/c/jdk1.2.2/swing1.1.1/windows.jar
If you don't actually need to use this special Swing version, then you
can leave off the last two entries. The dot, meaning "right here,
wherever I am" and the rt.jar entry, are the two important ones.
I think Peter Frederick wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Dear All,
> I am having a few problems getting JESS compiled. I am running cygwin as
> suggested and have Jikes installed within it but whenever I try to run the
> makefile, I am told that it cannot find the Swing1.1.1 jar files. I think
> the classpath is correct,although I didn't understand the bit about the '.'
> detailed in the manual. Can anyone help out?
>
> Error Message Read:
>
> Error: could not find package named
> /cygdrive/c/jdk1.2.2/swing1.1.1/swingall.jar(java/util)
> /cygdrive/c/jdk1.2.2/swing1.1.1/windows.jar(java/util)
>
> whilst trying to compile jess/examples/pumps/MainInJava.class
>
>
> Thanks in advance,
>
> Pete Frederick
>
>
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------