ISSUE: I don't know how to set the system environment variables in MacOSX

SOLUTION: Here is the memo.

For Teminal.app and apps on or via Terminal.app

Same as ordinary Unix.

For General OSX apps (including Terminal.app)

User session scope

Create or edit the ~/.MacOSX/environment.plist with /Developer/Applications/Utilities/Property List Editor.app. More precisely, add key-value pairs of environment variables as children of the root node.

Application specific

Include the LSEnvironment key in the application's information property list file.
rio orange