View Single Post
Old 08-17-2013, 10:19 AM   #5
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
The .azw2 is the complete packaged artifact that is meant to be deployed on a Kindle.

The emulator above works at the source code (well, "compiled source code" level).

You're running it in the completely wrong way. Java takes a class as the first argument to run, not a .jar file. And the "emulator app" takes another class as an argument, not an .azw2 file.

The following might work (on Windows):
java -cp "vavi-kdkemu.jar;test.azw2" vavi.apps.kindlet.KindletViewer test.Main

On Linux, use java -cp "vavi-kdkemu.jar:test.azw2" ...
ixtab is offline   Reply With Quote