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 or Rebuild
to compile your project. These are available in three places:
The commands for compiling from within the IDE include:
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 .
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.
To run your i-mode application inside JBuilder on the main application class, without having to archive first