# Jigsaw
How to compile Jigsaw

Jigsaw Home / Documentation Overview

Jigsaw is delivered with a set of makefiles, so you can use the make tool to compile Jigsaw.

# On UNIX machine

According to your shell (for example bash), just set the following environment variable:

MAKEDIR = `<instdir>/Jigsaw/src/makefiles`

export MAKEDIR

Note: Since 2.0.2, the MAKEDIR variable is no more used, so don't take care of it.

Now you have to update your CLASSPATH to compile Jigsaw and use the new compiled classes.

CLASSPATH = `<instdir>/Jigsaw/src/classes/:...`

instead of

CLASSPATH = `<instdir>/Jigsaw/classes/jigsaw.jar:...`

then

export CLASSPATH

Then you can use make in any directory under `<instdir>/Jigsaw/src/classes`.

# On Windows Machine

You can use the make tool from the GNU tools for Windows.

Then you just have to set the same environment variable (with bash):

MAKEDIR = `<instdir>\Jigsaw\src\makefiles`

export MAKEDIR

Note: Since 2.0.2, the MAKEDIR variable is no more used, so don't take care of it.

And your CLASSPATH should become:

CLASSPATH = `<instdir>\Jigsaw\src\classes\:...`

instead of

CLASSPATH = `<instdir>\Jigsaw\classes\jigsaw.jar:...`

then

export CLASSPATH

Then you can use make in any directory under `<instdir>\Jigsaw\src\classes`, provided you have "make" installed.

Jigsaw Team
$Id: compile.html,v 1.10 1999/03/26 15:34:04 bmahe Exp $

Copyright © 1999 W3C (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark , document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.