I've got a problem that I *know* jni will solve, but I'm wondering if there's any alternatives.

I have a simple program, let's call it foo.exe

When you run foo.exe it asks for your name, and...