How to define environment variables so that Mac OS X applications can see them. Installed Mac OS X applications do not see unix environment variables defined in ~/.cshrc or any other of the standard unix configuration files. But installed NetBeans on Mac OS X may use of environment variables. To get them visible, you should define your environment variables in the file ~/.MacOSX/environment.plist.