File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ERROR while Running via OTA

 
Harish Tiruvile
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Pradeep Gudipati
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic