Installation notes

Choco is a Java library distributed as Java archive (a jar file). To install it, you need to:

Download of the Choco archive

The archive can be downloaded in the Choco project page in the SourceForge site, or more simply here. Put this archive in a directory of your hard disk (for instance C:\Choco\).

To use it easily, this jar file must be added to the CLASSPATH environment variable. The next section explains how to do that with Windows and UNIX environments.

The CLASSPATH environment variable

With Windows XP

  • Right-click My Computer, and then click Properties.
  • Click the Advanced tab.
  • Click Environment variables.
  • Search the CLASSPATH variable, if it does not exist create it with New.
  • Edit its value with Edit and add for instance C:\Choco\choco-x_xxx.jar.

With UNIX-like environments

  • Edit your shell config file (.bashrc for bash for instance).
  • Add the following command: export CLASSPATH=$CLASSPATH:/path/to/jar/file or setenv CLASSPATH $CLASSPATH:/path/to/jar/file depending on your shell (typically export for bash and setenv for csh)