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
On 01.03.16 10:48, [email protected] wrote:
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
On Sunday, February 21, 2016 at 5:29:36 PM UTC+1, Marc R. Hoffmann wrote:
Hi Jas,
do you encounter any error messages? Any more specific information
would be helpful.
Regards,
-marc
On 19.02.16 11:47, [email protected] <javascript:> wrote:
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
--
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 [email protected] <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/87fade36-a252-4966-af63-4dfe260d53bb%40googlegroups.com
<https://groups.google.com/d/msgid/jacoco/87fade36-a252-4966-af63-4dfe260d53bb%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/56D5DD29.5030108%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.