Before you can start the Workspace installer, you must create $WORKSPACE_HOME directory(usually this is /home/workspace) and have the following environment variables set correctly.
You must add this line also to /etc/init.d/tomcat5 file because of sudo's new security features.
Log out from Linux and log in again. Now you should have the variables in use.
You can test it in Terminal with command echo $variable.