• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBuilderX bad jar file?

 
Jason Fox
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After compiling/recompiling several times (4-6 on average) the phone displays
a 'JAVA ERROR' during the install procedure when I load the jad and jar files created by JBuilder. If I use Sun's WTK to compile and the same source files (and create the jar file), it loads fine. For testing, I have tried recompiling unchanged code, and at the 5th load attempt, it failed. I'm using JBuilder X, Mobile Edition with a Motorola i730, using WebJAL r01.01.02 to load the jar/jad files. Any help/ideas with this would be greatly appreciated.
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no build errors at all generated?
 
Levron
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same error on JBuilderX every time my jar file was bigger then 30Kb. The problem was path to external libraries I was using. Hope this helps
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Levron,

Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!
 
Jason Fox
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the .jar file is around 55kb in size, I am using no external libraries other than the packages in javax.microedition, and the only resource files I am using are graphics (.png files). The application is making extensive use of CommConnection, and is being used as 'driver' to a serially attached device. Unfortunately, I am unable to post code at the present time, but I do not believe it is a coding issue, otherwise wouldn't the WTK also produce an errored .jar file?
For now, I am using JBuilder as an editor, and compiling/jarring with Sun's WTK, as a temporary solution. If anyone has any ideas, I am at a complete loss.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic