Based on the help text it emits it appears there is a developer.img and we have the stripped down target.img. The stack traces it generates contain no line number information (so I don't bother compiling with -g) and generally the messages are cryptic and obtuse.
Here's some of what I have figured out.
Code:
[Loaded java/lang/NoClassDefFoundError/class]
[Loaded java/lang/LinkageError/class]
java.lang.NoClassDefFoundError: `>@
java.lang.NoClassDefFoundError.<init>(Ljava/lang/String;)V
Test1.paint(Ljava/awt/Graphics;)V
java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V
java.awt.EventQueue$Delegate.dispatchEvent(Ljava/awt/AWTEvent;)V
java.awt.EventDispatchThread.()V
java.lang.Thread._run()V
Don't mix .class files from directories and JAR's, all kinds of hell comes from this. Probable bug in elate. Put everything in JAr's and its happy.
Code:
java.lang.NoSuchMethodError
Test1.<init>()V
Test1.main([Ljava/lang/String;)V
Somewhere inside the constructor for Test1 you are trying to invoke a method elate doesn't provide in some system class. In this case it was: this.setUndecorated(true);
These can be very annoying to track down. I'm sure Tao has a Java environment with just the supported classes and methods in it but for now...
Code:
app/stdio/jcode: (*env)->FindClass returned an exception
java.lang.NoClassDefFoundError: com.surerange.mobiled.SendFax
java.lang.NoClassDefFoundError.<init>(Ljava/lang/String;)V
com.tao_group.sys.Eclassloader.()V
com.tao_group.sys.Eclassloader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
I'd like to load your class but it extends or implements something I can't find (bet you'd like to know what this is!) Inspect your extends and implements, usually easy to figure out.
Code:
app/stdio/jcode: (*env)->FindClass returned an exception
java.lang.NoClassDefFoundError: EV
java.lang.NoClassDefFoundError.<init>(Ljava/lang/String;)V
This is what you get when it can't find the class to be loaded e.g. bad classpath.