View Single Post
Old 09-08-2011, 04:44 PM   #50
liuto
Connoisseur
liuto is on a distinguished road
 
Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
Quote:
Originally Posted by hawhill View Post
ah, well, the MyWorld.class ended up in the root directory again. Whereas in the Manifest, it is declared to be "Hello.MyWorld", so the kindle would search for "Hello/MyWorld.class". I'm just guessing here, but you might just have issued "jar cvfm [...] Hello/MyWorld.class", but it should have been "jar cvfm [...] Hello".

You can check the contents of the .azw2 with a ZIP reader to make sure that the layout within matches the data in the Manifest.
Edit: or just use the jar tool's "t" command...
OK, I just did the exactly same as you said, but the same issue. here attached is my project structure. could you test it on your Kindle if possible?

Thank you very much.

Liuto
Attached Files
File Type: zip test_fin.zip (437.3 KB, 138 views)
liuto is offline   Reply With Quote