Sun Microsystems J2ME Manual do Utilizador Página 116

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 134
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 115
104 J2ME Wireless Toolkit User’s Guide October 2004
B.2.1 Build
Using KToolbar, building a project is a single step. Behind the scenes, however,
there are actually two steps. First, Java source files are compiled into Java class
files. Next, the class files are preverified, which means they are prepared for the
CLDC KVM.
Use the javac compiler from the J2SE SDK to compile Java source files. You can
use the existing J2ME Wireless Toolkit project directory structure. You’ll need to
use the -bootclasspath option to tell the compiler to use the MIDP APIs, and
you’ll use the -d option to tell the compiler where to put the compiled class files.
The following example shows how you could compile a MIDP 2.0 application,
taking source files from the src directory and placing the class files in the
tmpclasses directory. Newlines have been added for clarity.
javac
-bootclasspath ..\..\lib\cldcapi10.jar;..\..\lib\midpapi20.jar
-d tmpclasses
src\*.java
If you want to use the optional APIs that are supported by the toolkit, add their
JAR files to the -bootclasspath option.
For more information on javac, consult the J2SE documentation.
The next step is to preverify the class files. In the bin directory of the J2ME
Wireless Toolkit lives a handy utility called preverify. The syntax for the
preverify command is as follows:
preverify [options] <files | directories>
Some of the options are as follows:
-classpath <classpath>
Specify the directories or JAR files (given as a semicolon-delimited list) from
which classes are loaded.
-d <output directory>
Specify the directory into which the preverifier should output classes. This
directory must exist before preverifying. If this option is not used, the preverifier
places the classes in a directory called output.
Following the example for compiling, use the following command to verify the
compiled class files. As before, newlines have been added for clarity.
preverify
-classpath ..\..\lib\cldcapi10.jar;..\..\lib\midpapi20.jar
-d classes
tmpclasses
Vista de página 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 133 134

Comentários a estes Manuais

Sem comentários

Philips FWC1C-37 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Video Philips FWC1C-37.
Wir stellen 1 PDF-Handbücher Philips FWC1C-37 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung


Philips FWC1C-37 Bedienungsanleitung (2 Seiten)


Marke: Philips | Kategorie: Video | Größe: 0.33 MB |

 

Inhaltsverzeichnis





Weitere Produkte und Handbücher für Video Philips

Modelle Dokumententyp
SHE7005A-00 Bedienungsanleitung   Philips SHE7005A-00 User Manual, 3 Seiten
42PFL3704D-F7 Bedienungsanleitung    Philips 42PFL3704D-F7 Manuel d'utilisation, 8 Seiten
22PDL4906H-12 Bedienungsanleitung   Philips 22PDL4906H-12 User Manual, 3 Seiten
27RF50S Bedienungsanleitung   Philips 27RF50S User Manual, 44 Seiten
VRX463AT99 Bedienungsanleitung   Philips VRX463AT99 User Manual, 64 Seiten
STS8007-00 Bedienungsanleitung   Philips STS8007-00 User Manual, 2 Seiten
24RF50S99 Bedienungsanleitung   Philips 24RF50S99 User Manual, 42 Seiten
27PT31B Bedienungsanleitung   Philips 27PT31B User Manual, 52 Seiten
SWV6432-37 Bedienungsanleitung   Philips SWV6432-37 User Manual, 2 Seiten
50PFL3908-F7 Bedienungsanleitung   Philips 50PFL3908-F7 User Manual, 3 Seiten
BDP3020-F7 Bedienungsanleitung   Philips BDP3020-F7 User Manual, 2 Seiten
SHN5500-27 Bedienungsanleitung   Philips SHN5500-27 User Manual, 2 Seiten
PD9016-37 Bedienungsanleitung   Philips PD9016-37 User Manual, 2 Seiten
DVP3040-37B Bedienungsanleitung   Philips DVP3040-37B User Manual, 47 Seiten
DVP1013-37 Bedienungsanleitung   Philips DVP1013-37 User Manual, 2 Seiten
20PF8946-37B Bedienungsanleitung   Philips 20PF8946-37B User Manual, 2 Seiten
47PFL3704D-F7 Bedienungsanleitung   Philips 47PFL3704D-F7 User Manual, 3 Seiten
SPA8210-37 Bedienungsanleitung   Philips SPA8210-37 User Manual, 12 Seiten
SHE3500RD-00 Bedienungsanleitung   Philips SHE3500RD-00 User Manual, 2 Seiten
SHS3200ND-00 Bedienungsanleitung   Philips SHS3200ND-00 User Manual, 2 Seiten