Blackberry JAVA DEVELOPMENT ENVIRONMENT Manuel de démarrage - Page 8

Parcourez en ligne ou téléchargez le pdf Manuel de démarrage pour {nom_de_la_catégorie} Blackberry JAVA DEVELOPMENT ENVIRONMENT. Blackberry JAVA DEVELOPMENT ENVIRONMENT 32 pages. Version 4.7.0
Également pour Blackberry JAVA DEVELOPMENT ENVIRONMENT : Note de mise à jour (8 pages)

Getting started guide

Prerequisites for using the BlackBerry JDE Plug-in for Eclipse

Verify that your system meets the following requirements:
BlackBerry® Java® Development Environment Version 4.3.0 or later.
BlackBerry® JDE Plug-in for Eclipse™ Version 1.0
Eclipse™ Classic 3.4
Microsoft® Windows Vista™, or Windows® XP
Java® SE Development Kit (JDK) Version 6 (download from the Sun Microsystems web site). The <bin>
directory of the Java SDK must be part of the system's PATH environment variable.
DirectX 8.0 or greater (for the BlackBerry Smartphone Simulator)

Development tools

The BlackBerry® Java® Development Environment (JDE) and BlackBerry® Java® Development Environment Plug-
In for Eclipse™ include multiple tools that you can use to develop BlackBerry device applications. You can also
obtain these tools by downloading the BlackBerry Java Development Environment Component Package..
Tool
RAPC
JavaLoader
Signature Tool
Preverify
8
Description
Use the RAPC command prompt compiler to compile .java and .jar files into .cod files that you
can run in the BlackBerry Smartphone Simulator or load onto a BlackBerry smartphone. When
you invoke RAPC, use the "-import=" option to specify the net_rim_api.jar file as an input file.
For example, the following command prompt instruction compiles the SampleApp.jar file into a
.cod file of the same name:
rapc import=net_rim_api.jar codename=SampleApp\SampleAppDriver -
midlet SampleApp.jad Samples\SamplaApp.jar
From a command prompt, use the JavaLoader tool to:
"Add, update, or remove a BlackBerry device aplication on a BlackBerry smartphone for testing
purposes. For production BlackBerry device applications, use the BlackBerry Desktop Software.
"View information about BlackBerry device application .cod files.
To run the JavaLoader tool, type a command with the following format:
javaloader [-u] [-p<port>|<pin>] [-b<baud>] [-d0|-d1] [-w<password>]
[-q] <command>
Use the Signature Tool application to send code signature requests to the BlackBerry Signing
Authority Tool. Send code signature requests when your BlackBerry device application code
requires access to controlled APIs, classes, and methods.
Use the Preverify tool to partially verify your classes before loading your BlackBerry device
application onto a BlackBerry smartphone. Completing this step will reduce the amount of
processing the smartphone must perform when you load your BlackBerry device application.
The Preverify tool receives a class path as input and produces new classes in an output directory
that you specify.
To run the Preverify tool, from the command prompt, type a command in the following format:
preverify [-d] output -classpath <directory> input; <directory>