How to install JCLEC and its components
Install JCLEC base
To install jclec-base, the JCLEC base distribution, we only need the file jclec-base.jar and the files obtained when decompressing jclec-extlibs.zip are part of our computer's classpath. An option, for example, would be to copy all these files in the java-install-dir\lib\ext directory, where java-install-dir represents the directory where the JRE is installed. An alternative is modify the CLASSPATH environment variable. In the following, we explain the procedure to do that in UNIX, Linux and Windows operating systems:
Unix/Linux
To permanently add the new variables in Unix/Linux systems, edit either ~/.bashrc or ~/.bash_profile, and add the following lines to the end of the file you edit:
-
JCLEC_HOME=/full/path/to/jclec-base.jar
export JCLEC_HOME
-
EXTLIBS_HOME=/full/path/to/jclec-extlibs (already uncompressed)
export EXTLIBS_HOME
- PATH=$PATH:$JCLEC_HOME:$EXTLIBS_HOME
Windows XP
To permanently add the new variables in Windows XP systems:
- Right click in "My Computer", "Properties", "Advanced", "Environment Variables".
- Create a new variable with:
- Name: JCLEC_HOME
- Value: C:\full_path\to\jclec_base.jar
- Name: JCLEC_HOME
- Create a new variable again with:
- Name: EXTLIBS_HOME
- Value: C:\full_path\to\jclec-extlibs
- Name: EXTLIBS_HOME
- Edit the PATH variable by adding ;%JCLEC_HOME%;%EXTLIBS_HOME%; to the end of the current value.
