This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: continued troubles migrating from 1.6.1
- To: "Paul R. Potts" <potts at umich dot edu>
- Subject: Re: continued troubles migrating from 1.6.1
- From: brlewis at alum dot mit dot edu
- Date: Wed, 05 Jul 2000 16:17:06 -0400
- Cc: Kawa Mailing List <kawa at sourceware dot cygnus dot com>, Mike Nowak <mnowak at umich dot edu>
- References: <B5890334.18A6F%potts@umich.edu>
"Paul R. Potts" <potts@umich.edu> writes:
> I am still at a loss...
>
> Trying to call kawa . standard . registerEnvironment ()
>
> Getting a runtime error of java.NoSuchMethodError
Oops, looks like I created that within BRL. It's been a while since I
did it, and I had forgotten some details.
The whole reason for the existence of the BRL class was to use the
define_proc method to put some Java-defined procedures in the
environment. Since (define brl-read (make <gnu.brl.read>)) seems to
work, I'll probably dispense with this class in a future release.
public class BRL extends Scheme
{
public void initScheme()
{
super.initScheme();
define_proc("brl-read", "gnu.brl.read");
define_proc("brl-readall", "gnu.brl.readall");
return;
}
public static void registerEnvironment()
{
BRL interp = new BRL();
Interpreter.defaultInterpreter = interp;
Environment.setCurrent(interp.getEnvironment());
}
}