Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » ClassNotFoundException when two classes are defined in the same java file
ClassNotFoundException when two classes are defined in the same java file [message #574979] Wed, 15 July 2009 12:20
Pablo Passera is currently offline Pablo Passera
Messages: 14
Registered: July 2009
Junior Member
Hi,
When I have two classes defined in the same java file and I try to run
the MIDlet in the emulator, I am getting a ClassNotFoundException. The
emulator does not find the second class in the file. I looked at the
generated jar file and the .class is not there. It's like only the .class
files that coincide with the .java files names are added. If I remove the
class definition from the file and create a new .java file containing that
class, it works properly. Does this happened to someone?

I am using Eclipse 3.3 and MTJ 1.0.

Thanks in advance,
Pablo
Previous Topic:Build state machine has not been initialized
Next Topic:Using JNI with Eclipse+MTJ
Goto Forum:
  


Current Time: Thu Aug 21 19:57:30 EDT 2014

Powered by FUDForum. Page generated in 0.11169 seconds