HOW TO
The Macintosh operating system does not use environment variables. However, the user can create environment variables that ArcView recognizes for every session.
system.setenvvar("HOME","Macintosh HD:Home:")
Note: 'HOME' is the name of the environment variable you wish to set. 'Macintosh HD:Home:' is the path you would like to direct the environment variable to. In this example, Macintosh HD is the name of the hard drive. The name of the hard drive on your computer might be different, for example MyMacG4. In this case the path would be 'MyMacG4:Home:'
Get help from ArcGIS experts
Download the Esri Support App