• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ERROR while Running via OTA

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i have created one application using Wireless Tool Kit provided by Sun microsystems.
While running my application Via OTA i got this error

"OTA Error Code (20) - The JAR was not found at the URL given in the JAD. [null]
"


Since WTK is not providing jar file i have created jar file by entering following command
jar cfm MyApp.jar MANIFEST.MF -C D:\j2me\midlet classes

Inside JAR file i am having MANIFEST.MF and CLASSES files\folder

After creating jar file i copied that JAR file into WTK\apps\MyAPP\bin folder.
After copying i executed "Run via OTA" feature of WTK to install application .....it is not getting installed it is giving error.I have searched in google but i have not succeded in finding where i made mistake ..If you know where i made mistake then please write to me..

Thanks in advance for your suggestions
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
quote:
--------------------------------------------------------------------
Hi,
i have created one application using Wireless Tool Kit provided by Sun microsystems.
While running my application Via OTA i got this error
"OTA Error Code (20) - The JAR was not found at the URL given in the JAD. [null]"
Since WTK is not providing jar file i have created jar file by entering following command
jar cfm MyApp.jar MANIFEST.MF -C D:\j2me\midlet classes
Inside JAR file i am having MANIFEST.MF and CLASSES files\folder
After creating jar file i copied that JAR file into WTK\apps\MyAPP\bin folder.
After copying i executed "Run via OTA" feature of WTK to install application .....it is not getting installed it is giving error.I have searched in google but i have not succeded in finding where i made mistake ..If you know where i made mistake then please write to me..

Thanks in advance for your suggestions
--------------------------------------------------------------------------
reply:

U need to create a package from the WTK, use the ktoolbar to do this (Project-->Package-->Create Package) the jad and jar files will be created in the bin file and with the right jad attributes.
 
What's a year in metric? Do you know this metric stuff tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic