Quote:
Originally Posted by Sothh
After a TON of searching, I found the problem. It was not with the naming, but because the Kindle uses Java 1.4, and I was using the latest (1.7) to compile with.
The solution is to compile using
Code:
-target 1.4 -source 1.4
After doing this, the kindlet no longer gives the main class not found error, though the code still does not work. (I believe its because I don't actually have 1.4 to compile against using
Code:
-Xbootclasspath:/usr/java/jdk1.4.0_30/jre/lib/rt.jar
I am downloading 1.4 now, and I will update on the outcome.
Thanks!
|
No, you don't necessarily *have* to compile with the 1.4 SDK. Compiling with the given arguments will do, whatever your SDK is.
You can also check /mnt/us/developer/<Kindlet name>/work/crash.log for what exactly is causing problems.