Quote:
Originally Posted by ixtab
It should not be terribly difficult, but it won't be totally trivial either.
Here's some background:
The Kindles do indeed come with a JVM. In fact, (almost) the entire framework frontend is written in Java. So, when a Kindle runs, there is already a running JVM.
Kindlets are then simply classes which are loaded at runtime, and which can "take over" the screen - using a predefined API, and normally with restricted functionality (but the latter part can be overcome with the Kindlet Jailbreak).
I have not tried your jar file (in fact, I don't even know what echolink is), but you have two possibilities:
1. Figure out how to start a second JVM which runs your jar file. On a "real" computer, that would usually be "java -jar myapp.jar", but the Kindle cvm may need different parameters. You should be able to figure them out by looking at the output of "ps wwwaux|grep cvm".
2. Write a proper Kindlet which bundles your jar, and calls the respective functionality. That may be a lot trickier, especially for jars which rely on the console (System.in, System.out, etc) and/or which require unrestricted functionality (network I/O via Sockets etc).
|
I'll find the parameters for CVM, since (just about) all I know about Java is that it's NOT JavaScript.