View Single Post
Old 03-31-2018, 03:05 PM   #19
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ntharrison View Post
I have Java(TM) SE Runtime Environment (build 9.0.4+11), do you know what version is required to compile for the K3 and how would I install an older version?
I would have to do exactly the same as yourself, read through the KindleLauncher (KUAL) repository.
I haven't written anything in Java since '96.
(I probably have a copy of the IBM IDE that became Eclipse that I used back in '96.)

IIRC, there are two things you must do - specific to the build system to build to the (specification) correct version of Java and use the correct Amazon KDK jar.
As mention numerous times now, Amazon used two, different API, KDK jars (pre-touchscreen and post-touchscreen). <<-- which presumes you are also using a copy of the *.jar files from whatever K3 firmware version you are building for.

But your idea to establish an Eclipse environment for your project sounds like a good one.
Just use the KindleLauncher one as the basis (Eclipse defaults to using Ant), edited as required.

Last edited by knc1; 03-31-2018 at 03:11 PM.
knc1 is offline   Reply With Quote