continued troubles migrating from 1.6.1
brlewis@alum.mit.edu
brlewis@alum.mit.edu
Wed Jul 5 13:18:00 GMT 2000
"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());
}
}
More information about the Kawa
mailing list