![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
cvm investigations
Kindles have a Java Virtual Machine located at /usr/java/bin/cvm, so i'm doing some investigations
![]() I'm able to run a java (non kindlet) textual app with the command: Code:
/usr/java/bin/cvm -jar FileName.jar Code:
/usr/java/bin/cvm -cp FileName.jar ClassName Spoiler:
if include in the classpath the /usr/java/lib/agui.jar (which contains the java/awt/Component), i get: Spoiler:
if i try to launch a kindlet: Spoiler:
(yes, i know that i can also use the command: Code:
lipc-set-prop com.lab126.appmgrd start file:///mnt/us/documents/Test.azw2 if i include the java/awt/Component: Spoiler:
there is any way to launch a swing app or a kindlet via cvm? ![]() |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I can not answer your question now.
But if you open the spoiler in my 'JBpatch continued' thread, you will find useful information. Things such as the cVM start-up bootclasspath to have it come up fully functional. I do not split the background information across multiple posts - I edit it into the existing posts - So simply subscribing to the thread will not get you auto-notified of additions, you have to look from time to time (at least at the "last edited" date). One of the next bits of background that will be added (when I am done with it) will be how to run the Kindle's Java installation off-Kindle (so you can change things without bricking the Kindle). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I lied, it wasn't in the spoiler (yet) it is only in my notes:
Code:
/usr/java/bin/cvm \ -Dsun.boot.library.path=/usr/java/lib \ -Xbootclasspath/a:/usr/java/lib/arm:/usr/java/lib/ext:/usr/java/lib/arm/minimal \ -cp <your application's classpath> \ <your application> <your arguments> Last edited by knc1; 11-29-2016 at 11:21 AM. |
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
cvm | h1ro | Kindle Developer's Corner | 12 | 04-02-2013 07:25 AM |
Least intrusive way to order cvm classpath? | ixtab | Kindle Developer's Corner | 7 | 11-12-2012 12:04 PM |
OFT launches investigations into ebook agency pricing | Grumpyreader | News | 37 | 02-04-2011 10:29 AM |
Troubleshooting Can't Update & Jailbreak due to cvm checksum failure | driverever | Amazon Kindle | 7 | 01-24-2011 01:45 AM |