Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# Windows Installation

This file contains installation and setup notes for Windows.

## Installation

It is recommended that you don't move the `source` folder. If you unzipped the distribution to the root of your `C:` drive as recommended, the batch files might require only minimal changes. Otherwise, you'll need to edit the batch files to reflect the location of the `source` folder.

It is also recommended that you use Windows as your 'homebase'; i.e., store the master copies of the JConfig files on Windows, copying to Mac or Linux only as necessary to compile the native code.

Two batch files are used to compile the Java and C++ code, `comp.bat` and `buildall.bat`; if you don't store the distribution into the folder given above, you'll need to edit the batch files as described below.

Also, you'll need to edit the first few lines of `comp.bat` and `buildall.bat`, depending on the locations where you have the required software installed. See below for details.

## Requirements

To compile the Java code, you need:

- the Sun JDK 1.0.2
  You can use another version of the 1.0 JDK
  `comp.bat` assumes that this is stored in e:\java

- the Sun JDK 1.1.4
  You can use another version of the 1.1 JDK
  `comp.bat` assumes that this is stored in f:\jdk1.1.4

- Infozip's zip.exe
  You can use another zipping program, if you wish.
  `comp.bat` assumes that this is stored in e:\infozip.
  You can get this from InfoZip

To compile the Windows native code DLLs, you need:

- MSVC++

- the Sun JDK 1.1.x
  This is required for the JNI header files.
  `buildall.bat` assumes that this is stored in f:\jdk1.1.4

- the MS Java SDK version 1.5
  This is required for the RNI1 header files.
  `buildall.bat` assumes that this is stored in e:\sdk-java

- the MS Java SDK version 2.0
  This is required for the RNI2 header files.
  `buildall.bat` assumes that this is stored in e:\sdk-java.20

- the MS platform SDK
  Only one file from the platform SDK is used, 'multimon.h', and this is only required by one file, 'files\win\SMonitors.cpp'.
  SMonitors.cpp assumes that the full path to multimon.h is e:\psdk\include\multimon.h. If you have it stored in a different location, you'll need to edit SMonitors.cpp.
  If necessary, you can edit SMonitors.cpp so this file is not needed; see that file for details.
  You can get the platform SDK from www.microsoft.com or msdn.microsoft.com

## Compiling

The batch file `comp.bat` is used to compile the Java code for all platforms. You'll need to edit the first few lines of this file depending on where the JDK and InfoZip are stored. See that file for details. Because one of the .java files uses 1.1 features, this is a little complicated.

The batch file `buildall.bat` is used to compile the Windows native code DLLs. This file uses nmake and the make files for each of the six DLLs. You'll need to edit the first few lines of this file depending on where the JDK and the MS Java SDKs are stored. See that file for details.

IMPORTANT NOTE: If necessary, you might also need to edit the .mak files. Try to edit the .mak files manually (i.e., as text) first before opening them with MSVC. If you open the .mdp files with MSVC, you might need to spend some time telling MSVC where to look for the correct include files and libraries.

## Notes

IMPORTANT NOTE: Don't modify the relative locations of files or folders within the distribution; doing so may require editing the project files, batch files, etc.

NOTE: If you get the message 'Out of Environment Space' when running the batch files, right click on the batch file, and choose 'Properties'. On the 'Memory' tab, in the 'Conventional Memory' area, set the 'Initial Environment' popup menu to its highest setting.

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.