Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » How to add a jar file to the Midlet in MTJ?
How to add a jar file to the Midlet in MTJ? [message #567831] Fri, 14 November 2008 08:39
Francisco is currently offline Francisco
Messages: 8
Registered: July 2009
Junior Member
Hello,

I am using MTJ and WTK 2.5.2. I have problems adding a jar file to my
midlet suite. I add the jar file to the res folder and I add it to the
build path. However, when I run the midlet it throws a
NoClassDefFoundError.
I have tried also exporting the jar file in the Build Path by checking the
jar file in the order and export option. But then, Eclipse shows errors on
my jar file and in the Problems window I get the following message:

Error preverifying class net.jxta.impl.endpoint.tcp.TcpConnection
jxta-cldc.jar FirstJXTAMidlet/res

Do you know how can I solve this problem?

Thanks in advance,

Fran
Previous Topic:Invoking a Web Service from an EclipseMe Cient
Next Topic:Help: WTK2.5.2 + MTJ 0.9 + Eclipse 3.4.1 + JRE6_10
Goto Forum:
  


Current Time: Fri Aug 22 12:02:13 EDT 2014

Powered by FUDForum. Page generated in 0.01566 seconds