[ANN] J2MESupport for IDEA 4.5

New version of J2MESupport plugin is available in plugin home. Wiki page is under construction, pls be patient.

Pavlin

0

Hello,
I'm desperatly trying to make J2ME work in my IDEA-IDE.
There are two last things that worry me.
First one is:
My 'run and debug' donfiguations of IDEA:
In the tab 'run/debug' IDEA wants a Main Class, but a MIDlet
doesn't have one, so I don't know what to put there
(it doesn't work without)
Second:
When I try to build with the J2EEsupport emulator the compiler
tells me the following:
INFO - preverify:

INFO - Error preverifying class FirstMIDlet

INFO - java/lang/NoClassDefFoundError: javax/microedition/midlet/MIDlet

But I included the javax/microedition/midlet/MIDlet (in the library)
Do you have an IDEA?
Thanx
Roland

0

Hi,
as i know to run/debug J2ME MIDlet with J2MESupport plugin you have to work
with J2MESupport Toolbar but not with IDEA application configurations.
In Irida there would be an included J2ME plugin wich would allow you to
operate with your mobile applications in the the same way as with other
non-mobile ones.

--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

"R. Brackmann" <no_mail@jetbrains.com> wrote in message
news:29878977.1100732195989.JavaMail.itn@is.intellij.net...

Hello,
I'm desperatly trying to make J2ME work in my IDEA-IDE.
There are two last things that worry me.
First one is:
My 'run and debug' donfiguations of IDEA:
In the tab 'run/debug' IDEA wants a Main Class, but a MIDlet
doesn't have one, so I don't know what to put there
(it doesn't work without)
Second:
When I try to build with the J2EEsupport emulator the compiler
tells me the following:
INFO - preverify:

>

INFO - Error preverifying class FirstMIDlet

>

INFO - java/lang/NoClassDefFoundError:

javax/microedition/midlet/MIDlet
>

But I included the javax/microedition/midlet/MIDlet (in the library)
Do you have an IDEA?
Thanx
Roland



0

Another option is use Ant script to start/debug your midlet within emulator.

Your can write such Ant-script by yourself or take already developed set of
Ant tasks for J2ME development for example at
http://antenna.sourceforge.net/

Andrei



"Anna Kozlova (JetBrains)" <Anna.Kozlova@jetbrains.com> wrote in message
news:cnhhao$nhi$1@is.intellij.net...

Hi,
as i know to run/debug J2ME MIDlet with J2MESupport plugin you have to

work

with J2MESupport Toolbar but not with IDEA application configurations.
In Irida there would be an included J2ME plugin wich would allow you to
operate with your mobile applications in the the same way as with other
non-mobile ones.

>

--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

>

"R. Brackmann" <no_mail@jetbrains.com> wrote in message
news:29878977.1100732195989.JavaMail.itn@is.intellij.net...

Hello,
I'm desperatly trying to make J2ME work in my IDEA-IDE.
There are two last things that worry me.
First one is:
My 'run and debug' donfiguations of IDEA:
In the tab 'run/debug' IDEA wants a Main Class, but a MIDlet
doesn't have one, so I don't know what to put there
(it doesn't work without)
Second:
When I try to build with the J2EEsupport emulator the compiler
tells me the following:
INFO - preverify:

>

INFO - Error preverifying class FirstMIDlet

>

INFO - java/lang/NoClassDefFoundError:

javax/microedition/midlet/MIDlet
>

But I included the javax/microedition/midlet/MIDlet (in the library)
Do you have an IDEA?
Thanx
Roland

>
>


0

If you want to use j2mesupport plugin (the 3rd party one) you should setup the plugin itself, instead of setting your project in the "normal" way. The plugin provides UI for setting your MIDP environment as well as other useful(I hope) features which are all operated from within the plugin. Please read Wiki pages and let me know if you have difficulties setting it up.

Actually j2mesupport plugin uses a set of ant tasks and properties files to build/deploy/run midlet projects. The ant file is generated from a template and stored in the root of your MIDP project, so one should be able to operate it from command line as well.

Regards,

Pavlin

0

请先登录再写评论。