Do the following and remove the exception.
- Go to nbproject folder in your project.Under this folder find "project.properties" file.
- Edit "project.properties" file.Search for "manifest.midlets="
- Set the value of "manifest.midlets=MIDlet-1: MidletName, , PackageName\n"
manifest.midlets=MIDlet-1: SampleMidlet, , com.j2me.mobile.sample.SampleMidlet\n
Spaces are compulsory.Place the space after : and before packagename.
If you are using notepad use \n at end .
References:
http://tecknolojia.blogspot.com/2008/03/invalidjadexception-in-netbeans.html
No comments:
Post a Comment