Source Not Found Error while Debugging

Hello,

I get annoying Errors while debugging a midlet. I reinstalled all programms an created a new midlet suite + midlet but the error is still there and the Midlet doesnt start.

i got Eclipse Version: 3.2.2, Eclipse ME 1.6.6, the newest WTK 2.5 and java.vm.version=1.6.0-b105.

I configured everything like www.eclipseme.org says it would be correct.

Running a Midlet works fine.

The bug opens an Helper.class file which says:

Class File Editor: Source not found: "The Jar of this classfile belongs to the container J2ME library [ Sun Java (TM) Wireless Toolkit 2.5 for CLDC/MediaControl]. To configure the source attachment, go directly to the corresponding configuration page (For example for JRE go to 'Installed JRE#s page in references).

Any clou how to fix this? I need to debug my midlet :-/

THANKS!

Byby

pako

[885 byte] By [Pako9382a] at [2007-11-26 20:16:53]
# 1

Hi,

I just had the same problem and navigated to this page here in hope for a solution...

However I've solved the problem now. On Eclipse, do the following.

1) Right-click on the added Jar-file (which is producing the problem)

2) On the popup-menu choose "Build Path" and "Configure Build Path..."

3) On the opening preference window, click the checkbox of the Jar

This is probably necessary because the jar has to be exported such that the simulator is able to execute it.

Greets,

Juri

http://juri-strumpflohner.blogspot.com

Juri_Strumpflohnera at 2007-7-10 0:39:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...