ZZ from http://www.blackberryforums.com/aftermarket-software/762-howto-manually-convert-jad-jar-cod-if-you-cant-do-ota.html
This is only needed if you are unable to do over-the-air software downloads with your carrier. Big thanks to headtailgrep, quoted from rimroad
Quote:
Originally posted by headtailgrep
I hope the moderators don't mind, but this procedure will show everyone howUploadThird party software (midlets) to yourBlackberry. Midlets are Java applications written for phones under the MDIP specification. there are hundreds of midlets already available to try, from Network-enabled applications such as telnet, ssh, VNC, instant messagers, to games!
Where to download midlets? Using Google, I come up:
Http://midlet.org
Http://www.javamobiles.com/midlets/
Search around for more ..
Who needs to do this And Why? We all want more third party software for our Blackberries,And This adds hundreds of potential titles to our third party software base! The following scenarios are Blackberry Users who benefit from this procedure:
A) AllBlackberryUsers without BEs, such as BWC users
B)BlackberryUsers who use the redirector
C)BlackberryUsers with BES lower than 3.6
If you have BES 3.6 or higher running, you can download JAR/Jad midlets directly from yourBlackberryBrowser, as the BES does the conversion to cod for you automatically. However, you can still do this procedure if you really need ..
What technical requirements do I need to perform this task:
A) You need to be comfortable using DOS
B) You need to downloadAndInstallBlackberryJde (free from the rim developer website)
C) You need to downloadAndInstall the Sun Java SDK 1.4 or higher.
D) You do not need to know how to useBlackberryJde, you merely need some of the DOS apps that come with it.
Here's how to convertAnd Upload Midlets (JAR/JAD) files to your Blackberry . This is not for the faint of heart, but any person with reasonable technical computer skills can do it:
A) downloadAndInstall the rim Java development environment.
From http: // www.Blackberry. Net/developers/
This software requires the Sun Java SDK, so
B) downloadAndInstall the Sun Java SDK.
Http://java.sun.com/j2se/1.4.2/download.html
Make sure you get the SDK! * Not * the JRE!
Once both are installed, download the midlets you wish to put on yourBlackberry. Midlets are both a. JarAnd. JAD file.
C) For versions of use, move the JadAndJar files for each MIDlet you want to convert to the bin directory in the rim Java Development Environment directory on your hard drive, for example:
C: \ Program Files \ Research In Motion \BlackberryJde 3.7 \ bin \
Using rapc.exe in DOS, convert the MIDlet to a COD as follows, all on one line (might be easier to make a. BAT file out of this)
D) rAPC import = "C: \ Program Files \ Research In Motion \BlackberryJde 3.7 \ Lib \ net_rim_api.jar "codename = virca-MIDlet Jad = virca. Jad virca. Jar
Subsitute a different codename, Jad And Jar filename for whatever Application You wish to convert. If successful, it will say no errors And You will have a cod file. The import = is a required step.
using javaloader.exe from a DOS prompt to upload the newly created cod file to your BlackBerry (in my case a USB BlackBerry )
E) javaloader-USB load filename. COD
AndThat's it! An icon will appear in your ribbon. Give it a tryAndSee if it works. Not everything will work, but most do. mileage wil vary ..
Caveats:
A) if you useApplication Loader at a future date, the loader will Remove Your midlets as they are not known by it. You will probably have to re-Upload Them again in this case.
B) make sure you have enough free spaceUploadThe applications ..
C) if something goes wrong, be sure you are familar with the rAPC or javaloader.exe documentation. If not sure, use Google to help you.
D) If you can, test yourBlackberry Jde on a sample Application . Compile, And Run a sample app inSimulator To ensure that your jde functions correctly.
Good luck ..!
(Note: Rogers And T-Mobile are both known to permit OTA downloads now without the need for these instructions,And Without the need for BES/MDS. So you lucky Rogers And T-Mobile users can skip these instructions. Other carriers may not need these instructions by early 2005 .)
Thanks,
Mark rejhon