![]() |
![]() |
Mobile Information Device Profile Build Configuration |
![]() |
This section describes the hardware and software requirements for the MIDP build environment and its setup procedures. See Compiling MIDP for a description of how to use the MIDP build environment. See Running MIDP for a description of the configuration parameters that may be set to effect the behavior of the MIDP runtime execution environment.
|
Software Package | Description |
---|---|
SUNWcsu | Core operating system software |
SUNWbtool | Software development utilities |
SUNWtool | Programming tools |
SUNWsprot | Solaris bundled tools (this package's compiler is used to build the Reference Implementation) |
Note: Use the following command to verify whether a given Solaris software package has been installed:
% pkginfo -l "package-name"
The MIDP build environment and the JDK use the environment variables described in the table below. Some of these environment variables can cause name conflicts and should be defined correctly so that they do not include directories for JDK versions that are not compatible with the MIDP build environment.
Variable | Description |
---|---|
LANG | The system locale |
CLASSPATH | The search path used by the Java virtual machine to find class files |
LD_LIBRARY_PATH | The search path for finding shared libraries that contain the implementations of native methods |
To set up the MIDP build environment on a Solaris system:
This must be installed into a directory named kvm, and installed on the same level as the MIDP distribution. For example, if MIDP is being installed in the directory ~/my_development/midp/, CLDC must be installed into a directory named ~/my_development/kvm/ or midp should be compiled with the following flag KVM_DIR="location of CLDC workspace" .
All listed software packages come with the standard Red Hat 6.2 Linux distribution. No additional updates are required.
Software Package
Description
egcs-2.91.66
core gcc compiler
make-3.78.1-4
GNU make utility
zip-2.3-4
ZIP file extraction tool
Note: Use the following command to verify whether a given Linux software package has been installed:
% rpm -q "package-name"
To set up the MIDP build environment on a Linux system:
Copyright 2001 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All rights reserved. This product is distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun Logo, Java, and the Java Coffee Cup Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Federal Acquisitions: Commercial Software -- Government Users Subject to Standard License Terms and Conditions. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.