[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.dsdp.mtj] Re: Bad Stack Map error

Hi,

Have you configured the WTK 2.2 runtime yet, and set that as the library for your project?

You can do this by selecting Preferences > Mobile Tools ... > Runtime Platform and pointing at the root directory of your WTK 2.2 installation.

Once you have done this create a new MTJ project, with the runtime you created, and copy your source files into the project.

Good luck,
kevin

Mike ONeil wrote:
Hello there. I've recently decided to switch over from Netbeans to Eclipse becuse of the on device debugging Nokia talks about with Eclipse, however simply trying to move the project over is giving me problems. My setup:
Windows XP
Eclipse 3.2
MTJ 0.7
emf-sdo-xsd-SDK-2.2.0


I know the project runs because it is fine with netbeans, but when I try to run it in Eclipse i get a
ALERT: java/lang/ClassFormatError: Bad stack map.


I have no idea what this means and the only thing I could find was about not using long or float types, none of which I am using in the project. Is there something I'm missing? The project doesn't use any Nokia SDK's at this point either, I wanted to just use the simple Java WTK 2.2 to start off simple without bringing in Nokia's notorously flaky SDK's. Any help would be appreciated.
Thank you
Mike