J2ME, trying to get 'Hello world' MIDlet running on emulator

Hello,

I'm new to IDEA (using community edition), but not new to J2ME dev in general, and currently trying to get a 'Hello world' MIDlet to run on the WTK 2,5,2 emulator.

I think I have done all the steps here correctly.

https://www.jetbrains.com/help/idea/2016.1/defining-a-jdk-and-a-mobile-sdk-in-intellij-idea.html


Added SDK and JDK

http://i.imgur.com/Ena5EUV.jpg

then created a new project

http://i.imgur.com/OgsGZhq.jpg

the code I have
http://i.imgur.com/9S1qZox.jpg

project compiles fine, then set the Run parameters

http://i.imgur.com/0wE8QI9.jpg

Now the problem, I get
""HelloWorld.jad - The system can not find the specified file""

So the question is:
How do I make the .jad/.jar files now or should I choose another method for running on the emulator ?

I've also tried Run -> Edit configurations -> tick 'Class' instead of 'Jad' but then I get
"JAR file corrupted, rebuild module before run", but rebuilding doesn't help though, same error message.
Language level is set to 1.3.

Any help greatly appreciated, thanks.




0

Please sign in to leave a comment.