-
Notifications
You must be signed in to change notification settings - Fork 0
Build Instructions Updated
So are you ready to build Processing in its raw form? Dive in!
You require the following components (latest versions obviously):- JDK 6
- Apache Ant
- git (Windows/Mac users may install GitHub for Windows/Mac)
The process of setting up environment variables is different for each platform. ###Windows
- Windows XP, right-click My Computer → Properties → Advanced → Environment Variables
- Windows 7, Start → Search "Environment Variables", and click "Edit the system environment variables".
- Windows 8: Control Panel → Click More Settings on the left →Search "Environment Variables" in Control Panel, and click "Edit the system environment variables".
###Mac OS X Set JAVA_HOME
To set JAVA_HOME, open Terminal and type: ```open /Applications/TextEdit.app/ ~/.bash_profile```Add the following line:
```export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home```Save the file, log out and log back in for changes to take effect.
###Linux Set JAVA_HOME
To set JAVA_HOME, open Terminal and type: ```sudo gedit ~/.bashrc```Add the following line:
```export JAVA_HOME=''```Save the file, log out and log back in for changes to take effect.
To grab a copy of the Processing source code to your system, go to Processing GitHub repo. If you see the Clone in Windows/Mac
button, click that.
If you want to clone via the terminal (git shell for Windows users), type:
The repo is kinda big, nearly 1.5 GB. So go take a break while it downloads. Also remember that git's cloning process can’t be paused. If the download gets interrupted midway, you’ll have to clone the full thing again.
##Build It
Now it’s time to build the beast! cd to the processing/build
folder and type:
ant run
It can take a few minutes if you’re building for the first time. If you did everything correctly, the Processing window should greet you. Cheers!
##Updating the latest version
The main Processing repo gets updated regularly as the team continues development. To add the latest changes to your clone, cd to processing
folder and type:
git pull
git update
If after updating you’re getting build errors, from processing/build
folder, type:
ant clean
Try building again.