This project is a blend of Avian (http://oss.readytalk.com/avian/) and Android classpath that is (at the moment) far more compatible with the original proprietary JDK Classpath.
The building is quite simple:
- First of all you should prepare your environment according to this guide:
http://bigfatbrowncat.github.io/cross-building/
You may use any other configuration, of course, but you would crush into many problems, I bet (especially on Windows). - In order to build Avian and Android classes we should have JDK 7 installed.
http://www.oracle.com/technetwork/java/javase/downloads/index.html Be careful! Don't install JDK 8 instead. - [On Windows or Linux] After the JDK is installed you should set the `JAVA_HOME` variable. For example, on Windows it would be something like
export JAVA_HOME=/c/Program\ Files/Java/jdk1.7.0_00
You don't have to set this variable on OS X where the path could be found automagically. - Then you should clone the avian-pack repo:
git clone https://github.com/bigfatbrowncat/avian-pack.git cd avian-pack
This step will take the base repo from the server. It's quite fast (about 5-20 seconds on an average web connection speed) - Now you should fetch all the submodules.
make git-refresh
This command will clone many necessary repos (most of them are Android components). This will take a dozen of minutes. - Now it's ready to be built. Just type
make
The building process is quite slow. It will build all the components and link them together. After all the operations are complete, the result will appear insideavian/build
directory.