Building, running, and debugging i-mode applications

Compiling i-mode applications

Compiling Java classes in JBuilder for i-mode is the same as for normal Java development, with one exception. Because i-mode is based on JavaTM 2 Platform, Micro Edition, the classes must be preverified before you run them. JBuilder automatically preverifies all the classes in your project during compiling.

Use Make make or Rebuild rebuild to compile your project. These are available in three places:



Make, Rebuild, and Run

The commands for compiling from within the IDE include:

What can be compiled

The following parts of a program can be compiled:

To understand how JBuilder locates files to compile the program, see "How JBuilder constructs paths" and "Where are my files?"

For more information on compiling in JBuilder, see "Building and compiling Java programs" in Building Applications with JBuilder .

Running i-mode applications

i-mode devices support a Java VM that utilizes both an Application Descriptor File (ADF) and a JAR file. The ADF names the application in the JAR file and specifies required and optional information (keys) about the application. It also specifies the size of the JAR file, and can contain parameters to pass to the application at runtime. For more information on the ADF see About the Application Descriptor File (ADF) in "Archiving i-mode applications".

When you are testing an i-mode application in JBuilder, you can run from the application file directly or run from the ADF (.jam file) after you have run the Archive Builder.

For information on creating .jar and .jam files, see Archiving i-mode applications.

Running the main i-mode Application file

To run your i-mode application inside JBuilder on the main application class, without having to archive first