Where do you get the needed files/programs to do this?
Quote:
Originally Posted by itsteju you can simple convert jar file to cod file with foll. method:
1) create a batch file "jartocod.bat" with foll. params.:
(Change path as needed)
@ECHO "Syntax: jartocod.bat JAD_NAME JAR_NAME OUTPUT_NAME"
:RUN
@"C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin\rapc" import="C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\lib\net_rim_api.jar" codename=%3 -midlet jad=%1 %2
2)create another "installcod.bat" file with :
@ECHO "Syntax: installcod.bat COD_NAME.cod"
:RUN
@"C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin\JavaLoader" -u load %1
3)Place the jar and jad files of ur application at same location where above 2 batch files are located.
4) run jartocod.bat from cmd promt and provide jad ,jar and cod file name as parameters.
try out.
This might help you. |