• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

JBuilderX bad jar file?

 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no build errors at all generated?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic