There was a mistake in my bash script: I added *.java to the jar instead of *.class. Stupid me. Another, minor mistake was that I named my key aliases as xy$PROJECTNAME. I should've used xy$USER, because I obviously need only one developer key triplet, to be used for all my projects. It still wouldn't work, though, and I learnt that the manifest file in the original post was wrong. Here's one that actually works:
Code:
Manifest-Version: 1.0
Main-Class: com.digory.helloworld.Main
Implementation-Title: Hello World!
Implementation-Version: 1.0
Implementation-Vendor: digory
Extension-List: SDK
SDK-Extension-Name: com.amazon.kindle.kindlet
SDK-Specification-Version: 2.1
Toolbar-Mode: persistent
Font-Size-Mode: point
The lines Main-Class and those concerning the SDK seem to be important in particular, but are not included in the manifest shown on the first post in this thread. Somebody please update that post!