Symbian SDK IllegalStateException: No application specified in JAD or command line

This is a bit off-topic for this blog but recently I’ve needed to cope with Java ME and my Nokia S60 device Nokia Navigator 6110.

The problem: If you are doing what I have done and want to run an old midlet project with the Symbian SDK then do not forget to add all your old midlets to the ‘Application Descriptor’ file you will find in your project’s directory in the eclipse workspace folder.

Otherwise the Symbian SDK emulator will tell you something about an ‘IllegalStateException: No application specified in Jad or command line’.

Therefore, add a line like this to the ‘Application Descriptor’ file for each midlet, save it and run Create Package once more:
MIDlet-1: YourMIDlet,,your.package.name.YourMIDlet

Done.

Published by Johannes Luderschmidt

About this blog