View Single Post
Old 02-03-2014, 07:48 PM   #15
virtualdxs
|_| |3 Ǝ Ʀ G 3 3 |<
virtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensionsvirtualdxs can understand the language of future parallel dimensions
 
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
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.
virtualdxs is offline   Reply With Quote