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]

Re: continued troubles migrating from 1.6.1


"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());
  }
}


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