The official web site for JADE is: http://jade.cselt.it.
The packaging was a bit sloppy: the large ZIP file just contains the four smaller (also) zipped files and doesn't really simplify the installation. Furthermore, several files (like README and ChangeLog) are repeated in each ZIP file and you will be asked to allow overwriting.
Eventually, all files get installed in a "jade" directory containing the following files:
ChangeLog License README build.xml classes/ demo/ doc/ lib/ src/The important directories are:
In the README file (sect. 5.3.3), Fabio suggests the following:
First of all set the CLASSPATH to include the JAR files in the lib subdirectory and the current directory. For instance, for Windows 9x/NT use the following command: set CLASSPATH=%CLASSPATH%;.;c:\jade\lib\jade.jar; c:\jade\lib\jadeTools.jar; c:\jade\lib\Base64.jar; c:\jade\lib\iiop.jar
With UNIX, with the Cshell, this is done through setenv commands in the ".cshrc" file which is executed whenever a new window is created. These are the commands I use ( I assume that "jade" is a folder in my home directory):
setenv JADE_LIB "${HOME}/jade/lib" setenv CLASSPATH ".:${JADE_LIB}/jade.jar:${JADE_LIB}/iiop.jar\ :${JADE_LIB}/Base64.jar:${JADE_LIB}/jadeTools.jar"
In a Windows XP environment, you initialize the environment variables by using the "Control Panel" -> System -> "Environment variables" and creating the CLASSPATH User variable and giving it the list of jar files. The syntax is different than for UNIX but the form is very similar . You should then create a new "com" window and check your work:
echo %CLASSPATH% should print: c:\jade\lib\jade.jar;c:\jade\lib\jadeTools.jar;c:\jade\lib\Base64.jar; c:\jade\lib\iiop.jar;.
In his tutorial, D. Grimshaw suggests creating two batch files one for jade compilation and the other for execution which include the classpath information, but I think that it is simpler to set the CLASSPATH in the environment as shown above.