How to Setup Path for Adobe AIR Installing on Windows, Linux and Mac

Setting the environment path in Windows Vista
1. Press the Windows key and the Pause/Break key at the same time. The System section of the Control Panel is displayed.
2. Click the Advanced System Settings link. A User Account Control dialog box is displayed.
3. If required, enter the password for an Administrator account.
4. Click the Continue button.
5. Click the Advanced tab in the System Properties dialog box.
6. Click the Environment Variables button.
7. Edit the system variable named Path.
8. At the far right end of the existing path value, type a semicolon and then the path for the bin subdirectory of the Adobe AIR SDK.
9. Test the new path by opening a new Console window and typing adt at the command prompt.

If you see a listing of the various usage options available when calling the utility, then you know you have successfully installed the SDK. If not, go back and check to ensure that you correctly added the SDK bin path.

Setting the environment path in Windows XP
1. Press the Windows key and the Pause/Break key at the same time. The System Properties dialog box is displayed.
2. Click the Advanced tab in the System Properties dialog box.
3. Click the Environment Variables button.
4. Edit the system variable named Path.
5. At the far right end of the existing path value, type a semicolon and then the path for the bin subdirectory of the Adobe AIR SDK.
6. Test the new path by opening a new Console window and typing adt
at the command prompt.

If you see a listing of the various usage options available when calling the utility, you know you have successfully installed the SDK. If not, go back and check to ensure that you correctly added the SDK bin path.

Setting the system path in Mac OS X
Follow these steps to add the path of the AIR SDK to your system path:

1. Open the Terminal application in your /Applications/Utilities
folder. By default, you will be in your home directory.
2. Enter ls –la at the command prompt. Terminal will display a list of all files in your home directory.
3. Check to see whether a file called .profile exists. If so, go on to Step 5. Otherwise, go to Step 4.
4. If needed, create the .profile file by typing touch .profile at the command prompt.
5. Type open -a TextEdit .profile at the command prompt.
6. Add your AIR SDK bin subdirectory to the export PATH=$PATH:
line. Here’s how mine looks:
export PATH=$PATH:/Users/rich/airsdk/bin

If you already have an export PATH line, add the SDK bin folder to the far right, separating it with a semicolon. For example:
export PATH=$PATH:/usr/local/bin;/Users/rich/airsdk/
bin

7. Save the file.
8. Quit Terminal.
9. Restart your computer.
10. Open Terminal.
11. Type the following in a Terminal window to load the new settings:
. .profile
12. Confirm the path by typing echo $PATH at the command prompt. You should see the SDK bin path in the output line.
13. Test the SDK installation by typing adt at the command prompt.

If you see a listing of the various usage options available when calling the utility, you know you have successfully installed the SDK. If not, go back and check to ensure that you correctly added the SDK bin path.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: