School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,004 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,950 people online right now. Registration is fast and FREE... Join Now!




Corrupt JAR File Error recd from Wireless Toolkit

 

Corrupt JAR File Error recd from Wireless Toolkit

mslatf

29 Oct, 2009 - 12:38 PM
Post #1

New D.I.C Head
*

Joined: 29 Oct, 2009
Posts: 3

Im using J2ME wireless toolkit from sun but everytime the code i run gives this error on the output:

A problem occured during deploying application from http://127.0.0.1:53531/MobileApplication6.jad
Reason:
Corrupt JAR, error while reading: Midlet.class

The code compiles with no errors so What is wrong? The mobile emulator thing just shows me an install application from a url option

User is offlineProfile CardPM
+Quote Post


born2c0de

RE: Corrupt JAR File Error Recd From Wireless Toolkit

30 Oct, 2009 - 05:02 AM
Post #2

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 98 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Is the error occurring only during the deployment operation?
Are you able to the execute the code as you write it?
Attach the JAR file with your next post and I'll have a look.

Topic Title edited to be more descriptive.
User is offlineProfile CardPM
+Quote Post

TheGDeveloper

RE: Corrupt JAR File Error Recd From Wireless Toolkit

5 Nov, 2009 - 09:36 AM
Post #3

New D.I.C Head
*

Joined: 22 Sep, 2009
Posts: 40



Thanked: 2 times
My Contributions
how did you produce the jar?
With what ide?
Netbeans or Eclipse?
User is offlineProfile CardPM
+Quote Post

born2c0de

RE: Corrupt JAR File Error Recd From Wireless Toolkit

6 Nov, 2009 - 06:05 AM
Post #4

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 98 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
You can do them with both IDEs.
Clicking Build usually creates a JAR file.
Which IDE are you using?
User is offlineProfile CardPM
+Quote Post

TheGDeveloper

RE: Corrupt JAR File Error Recd From Wireless Toolkit

8 Nov, 2009 - 04:06 PM
Post #5

New D.I.C Head
*

Joined: 22 Sep, 2009
Posts: 40



Thanked: 2 times
My Contributions
i had a mimilar problem when i was using Eclipse
the exported jar was not acceptable by my cell phone and when i was using netbeans everything was fine
then i found some guide with properties on eclipse
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 06:48AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month