ILOG CPLEX 11.0 Getting Started > Tutorials > Concert Technology Tutorial for Java Users > Compiling ILOG CPLEX in ILOG Concert Technology Java Applications > Adapting Build Procedures to Your Platform

Pre-configured compilation and runtime commands are provided in the standard distribution, through the UNIX makefiles and Windows javamake file for Nmake. However, these scripts presume a certain relative location for the files already mentioned; for application development, most users will have their source files in some other location.

Here are suggestions for establishing build procedures for your application.

  1. First check the readme.html file in the standard distribution, under the Supported Platforms heading to locate the machine and libformat entry for your UNIX platform, or the compiler and library-format combination for Windows.
  2. Go to the subdirectory in the examples directory where ILOG CPLEX is installed on your machine. On UNIX, this will be machine/libformat, and on Windows it will be compiler\libformat. This subdirectory will contain a makefile or javamake appropriate for your platform.
  3. Then use this file to compile the examples that came in the standard distribution by calling make execute_java (UNIX) or nmake -f javamake execute (Windows).
  4. Carefully note the locations of the needed files, both during compilation and at run time, and convert the relative path names to absolute path names for use in your own working environment.