Getting the JUCE Source Code
The smartest way to get yourself a copy of the JUCE source tree is by using GIT - the repository is mirrored at both GitHub and SourceForge.
The commands to clone a copy of the JUCE repository are:
- git clone --depth 1 git://github.com/julianstorer/JUCE.git
- git clone --depth 1 git://git.code.sf.net/p/juce/code juce
(Note that the "--depth 1" option in the commands above instructs git to only download the most recent version of the repository, rather than the entire history, which is quite large. If you want to be able to view the history log and use older versions, just leave out this option).
If for some reason you're afraid of GIT and want to download a ZIP file with the code, you can do so via GitHub.
The head of the repository is always kept in a stable, buildable state, and it's recommended that you simply work with the latest version and update it regularly. Generally, new features and bugfixes are added daily.
Occasionally, stable "releases" are tagged with a version number, so if you're feeling conservative, you may wish to use one of these. You can use GIT to select any version you need from the repository history.
JUCE is published under a dual GPL/commercial license. So it's free to use in open-source projects with a GPL-compatible license, but to use it in a closed-source project, you'll need to purchase a commercial license.
The JUCE source tree includes some simple applications (in juce/extras) that show off many of the library's features.