Thread: Kindlet How to make a new Kindlet?
View Single Post
Old 03-26-2023, 11:36 AM   #8
evilReader
Junior Member
evilReader has learned how to buy an e-book online
 
evilReader's Avatar
 
Posts: 8
Karma: 84
Join Date: Mar 2023
Device: Kindle Paperwhite 2
Quote:
Originally Posted by mrfakename View Post
Hi,
@encol Thank you so much for the JAR files!
I tried to compile it on my Kindle 3G (here is my code), however I'm getting the following error:
Code:
The title you attempted to open requires a new version of Kindle software. Please update your Kindle to the new software version from the Menu in Settings or the Manage Your Kindle web page. For additional help, please call Kindle Customer Service at 1-866-321-8851 or 206-266-0927
I've never programmed in Java before and I'm new to Kindle development, so I was wondering if this was something with my code or the JAR files? (My Kindle 3G stopped receiving updates long ago).
Thank you so much!
I'm guessing you just tried to compile it with whatever java version you are using on your desktop, which won't work. I believe the version you want to target is java 1.4 for K3, though if you have jailbreak access you can try checking the java version by running
Code:
/usr/java/bin/cvm -version
For example on my PW2 at the end of the output:
Code:
java version "1.8.0_211-ea"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_211-ea-b00, profile compact1, headless)
Java HotSpot(TM) Embedded Minimal VM (build 25.211-b00, mixed mode)
It looks like you are using ant to build the project so add these properties to tell it to compile for java 1.4
Code:
<property name="ant.build.javac.source" value="1.4"/>
<property name="ant.build.javac.target" value="1.4"/>
Also in your manifest file, you have the line
Code:
SDK-Specification-Version: 2.1
but this needs to be <= whatever Kindlet-x.x.jar version is on your kindle (So change it to 1.0 or 1.2)
evilReader is offline   Reply With Quote