0. Installation and setup
Follow the instructions
for downloading and installing ProActive.
The programming exercises in the first part imply that you :
- Don't forget to add the required libraries to your classpath (i.e. the libraries
contained in the ProActive/lib directory, as well as either the proactive.jar
archive, or the compiled classes of proactive (better if you modify the source
code)
- use a policy file, such as ProActive/scripts/proactive.security.policy,
with the JVM option -Djava.security.policy=/filelocation/proactive.java.policy
Set the CLASSPATH as follow :
Under linux :
export CLASSPATH=.:./ProActive_examples.jar:./ProActive.jar:./lib/bcel.jar:./lib/asm.jar:./lib/log4j.jar:./lib/xercesImpl.jar:./lib/components/fractal.jar:./lib/bouncycastle.jar
Under windows :
set CLASSPATH=.;.\ProActive_examples.jar;.\ProActive.jar;.\lib\bcel.jar;.\lib\asm.jar;.\lib\log4j.jar;.\lib\xercesImpl.jar;.\lib\components\fractal.jar;.\lib\bouncycastle.jar
Concerning the second part of the tutorial (examples of some functionalities):
- Note that the compilation is managed by
Ant ; we suggest you use this tool to make modifications to the source
code, while doing this tutorial. Nevertheless, you can just change the code
and compile using compile.sh <the example application>
(or compile.bat under windows)
- The examples used in the second part of this tutorial are provided in the
/scripts directory of the distribution.
The scripts are platform dependant : .sh files on linux are equivalent to
the .bat files on windows