Cygwin instructions for dsixda's Android Kitchen ------------------------------------------------- 1) Run the Cygwin setup.exe and select the defaults for the installation paths, such as: - install from internet - install to C:\cygwin - Install for: All Users or Just Me (pick one that suits you) - Local Package Directory: use the default - Internet Connection: Direct Connection internet (unless you have a proxy) - Download Site: select any 2) At the 'Select Packages' screen, go to the 'Search' box to look for the following package: * gcc (found under 'Devel') - Click on the '+' symbol at the section it's found under - Then find this single package (only the one with this exact name, not multiple similarly-named ones!) and click 'Skip' once so that it changes to show a version number Do not click the 'Next' button!! Go back to the Search box and repeat the above steps for the rest of the packages: * perl (found under 'Interpreters') * cpio (found under 'Utils') * util-linux (found under 'Utils') * ncurses (found under 'Utils') * zip (found under 'Archive') * unzip (found under 'Archive') * wget (found under 'Web') 3) Press Next to proceed installing these packages. 4) When installation has been completed, click on your new Cygwin desktop shortcut. This will open a terminal session that will run some initialization. 5) With the Cygwin terminal still open, we need to configure the path to the Java application so that it can be executed within Cygwin. In the terminal, type the command 'java' (without quotes). If it says 'command not found', then read the below. Otherwise, skip this section. First, make a backup of your .bash_profile file in case you make a mistake later in this procedure. Enter the following in the terminal: cp .bash_profile .bash_profile.backup Next, find out where your java.exe file is and run the appropriate command to add it to your Cygwin path. For example, my java.exe is found under C:\Program Files\Java\jre7\bin, so I had to type: echo "PATH=/cygdrive/c/Program\ Files/Java/jre7/bin:\${PATH}" >> .bash_profile Modify the command above so that it matches the actual path to your installed Java. Remember to add a "\" character before any spaces in your path, as shown above. Type the following so that the file gets loaded (you only need to do this once): source .bash_profile There should not be any errors displayed if successful. (Otherwise, if you made an error in the .bash_profile file, restore your backup by typing: cp .bash_profile.backup .bash_profile, and then try the procedure again) If done correctly, then when you type 'java' it should display some help information. 6) Your Cygwin is now ready for the kitchen! Download the kitchen if you have not already done so.