Jacoco for J2ME emulator

35 views
Skip to first unread message

jastes...@gmail.com

unread,
Feb 19, 2016, 5:47:52 AM2/19/16
to JaCoCo and EclEmma Users
Hi,

I am trying to use jacoco for our test run on Netbeans-J2ME emulator. but i am not successful in using the javaagent or the offline instrumentation with the emulator. Could you please suggest how to run jacoco on J2ME emulator. Thanks in advance.

Jas

Marc R. Hoffmann

unread,
Feb 21, 2016, 11:29:36 AM2/21/16
to jac...@googlegroups.com
Hi Jas,

do you encounter any error messages? Any more specific information would be helpful.

Regards,
-marc
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/87fade36-a252-4966-af63-4dfe260d53bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


jastes...@gmail.com

unread,
Mar 1, 2016, 4:48:21 AM3/1/16
to JaCoCo and EclEmma Users
Hi,

I tried with a simple Netbeans Java ME application with the offline instrumentation as i was not able to attach javaagent to the emulator(or is it possible to attach ?) .

i am getting this error,
JDK :1.8
Jacoco version : 0.7.5.201505241946


Starting emulator in execution mode
java.lang.UnsupportedClassVersionError
 - javameapplication1/JavaMEApplication1.$jacocoInit(), bci=14
 - javameapplication1/JavaMEApplication1.<init>(), bci=0
 - java/lang/Class.newInstance(), bci=0
 - com/sun/midp/main/CldcMIDletLoader.newInstance(), bci=50
 - com/sun/midp/midlet/MIDletStateHandler.createMIDlet(), bci=63
 - com/sun/midp/midlet/MIDletStateHandler.createAndRegisterMIDlet(), bci=16
 - com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=25
 - com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
 - com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
 - com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=132
 - com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26


Thanks ,
Jas

Marc R. Hoffmann

unread,
Mar 1, 2016, 1:19:25 PM3/1/16
to jac...@googlegroups.com
Hi,

I don't think it is possible to run JaCoCo on a Java ME runtime. Minimum requirement for JaCoCo is Java SE 1.5.

Regards,
-marc

Jas mine

unread,
Mar 4, 2016, 3:32:15 AM3/4/16
to jac...@googlegroups.com
Thanks Marc.

Regards,
Jas.

--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/r-HIRTJq42E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/56D5DD29.5030108%40mountainminds.com.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages