Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 16:20
Pablo Passera is currently offline Pablo PasseraFriend
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 Apr 18 12:49:11 GMT 2024

Powered by FUDForum. Page generated in 0.02507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top