Select the
Java ME
category from the left pane of the preferences dialog. The basic
preferences page for MTJ looks like the following:
Preference items:
Item | Contents |
---|---|
Deployment Directory | The Deployment Directory preferences specified the project subdirectory into which deployed JAR and JAD files will be placed during the Create Package operation. In addition, this is the directory in which the built in Over The Air deployment support will search for the JAD and JAR file. |
Verified Output Directory Name | The Java ME specification requires that all classes to be run must be preverified. This allows for high levels of security without the inherent costs of the complete J2SE security implementation. MTJ automatically does preverification of class files whenever they are saved if automatic builds are enabled for the workbench. Whenever a class is compiled by Eclipse, MTJ will preverify that class and place the result into this directory. |
Antenna JAR | If you would like to use MTJ's built-in support for generating Antenna build files, you need to provide MTJ with the location of the Antenna JAR file here. |
WTK Root | If you would like to use MTJ's built-in support for generating Antenna build files, you need to provide MTJ with the location of a Sun Wireless toolkit. |
Proguard Root Directory | This value specifies the root directory for the Proguard installation. Proguard is required to create obfuscated packaged applications. |
Debug Server Time-out (ms) | Some emulators, such as the Nokia emulators, operate as debug servers rather than debug clients. In such emulators, the emulator must be started up before MTJ may connect to it. Because startup time may vary based on a variety of factors, this preference controls how much time (in milliseconds) MTJ will wait for the emulator to start before attempting to connect to the emulator's debug server. |
Debug Server Launch Poll Interval (ms) | This preference controls how much time (in milliseconds) is needed to run the emulator debugs. |