Documentation for Crowd 2.2. Documentation for other versions of Crowd is available too.
Once you have installed the JDK (see Supported Platforms), you need to set the JAVA_HOME environment variable.
There are many ways you can do it on 'nix based systems (including Mac OS X). Here are two:
For your current user,
vi ~/.profile
(replace vi with your favourite text editor)export JAVA_HOME=/path/to/java/home/dir
on its own line at the end of the fileexport PATH=$JAVA_HOME/bin:$PATH
on its own line immediately afterjava -version
should give you the desired resultsFor all users in the system,
vi /etc/profile
(replace vi with your favourite text editor)export JAVA_HOME=/path/to/java/home/dir
on its own line at the end of the fileexport PATH=$JAVA_HOME/bin:$PATH
on its own line immediately afterjava -version
should give you the desired resultsIf you are using a GUI, you may not need to open up the shell. Instead, you might be able to open the file directly in a graphical text editor.