This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

can't find class foo


In foo.scm:

(define (baz x)
  (display x)
  (newline)
  (if (< 1000 x)
      0
      (foo (+ x 1))))

(baz 1)


kawa --main -C foo.scm
(compiling foo.scm)

@eugene [~/test] $ java foo 
Can't find class foo

If I omit the --main flag, it finds foo, but has no main.

Hrm,
-- 
David N. Welton, Responsabile Progetti Open Source, Linuxcare Italia spa
tel +39.049.8043411 fax +39.049.8043412 cel +39.348.2879508
davidw@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]