Hi All,

I have created an application using Netbeans 6.01. The code complies fine, and when I install the jar on my phone the app works perfectly.

Although, when I try and run the app using the Emulator in netbeans I get the following error:

Error preverifying class build.compiled.thepackage.myclass
Class loading error: Wrong name

What might be causing this? I've double checked the name and I cant find anything.

More broadly what are best practices for debugging preverification errors?

Any help much appreciated.