Categories
Random observations

2003-11-11 15:01:24

I’ve finished coding the expression matcher. It’s working nicely under J2SE. But when I try to run it in the KVM (the VM for J2ME) I keep getting verification errors. A java/lang/VerifyError is thrown if there is some kind of internal inconsistency in the byte codes or if there is a security problem. I’ve recompiled everything a number of times, making sure to compile to release 1.1 of the VM and specifying -bootclasspath so that J2ME versions of the standard Java classes used. But I still can’t get the thing to work. The VerifyError only seems to happen for largish classes. I can write a simple “Hello, world” application for the KVM and it will run without complaining. I’m sure a solution will present itself shortly.

By ricky

Husband, dad, R&D manager and resident Lean Startup evangelist. I work at NICTA.