Configuring Ubuntu 7.10 (Gutsy Gibbon) For Harmony Development

These instructions presume a fresh install of Ubuntu 7.10 (although should work with other versions) and that you have the ability to sudo or become the root (Super User). These instructions should work on both x86 and x86_64.

1) Install subversion, gcc, g++ and make:

$ sudo apt-get install subversion
$ sudo apt-get install gcc
$ sudo apt-get install g++
$ sudo apt-get install make

2) Install java : (1.6.0_03 or later from sun) : get from http://java.sun.com/ and install as you see fit.

$ sudo apt-get install sun-java6-jdk

When done, the following should do the right thing in a shell :

$ java -version

Should print something similar to :

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

3) Install ant (1.7.0) :

$ sudo apt-get install ant

When done, the following should do the right thing in a shell :

$ ant -version

Should print something similar to :

Apache Ant version 1.7.0 compiled on August 29 2007

4) Install the ant-optional package

$ sudo apt-get install ant-optional

5) Get junit and drop the junit-X.jar into ant/lib (where X is the version of JUnit) [OPTIONAL]

6) Install AWT/Swing deps

$ sudo apt-get install liblcms1-dev
$ sudo apt-get install libpng12-dev
$ sudo apt-get install libjpeg62-dev
$ sudo apt-get install libx11-dev
$ sudo apt-get install libxft-dev
$ sudo apt-get install binutils-dev
$ sudo apt-get install libxml2-dev
$ sudo apt-get install libxtst-dev

Now you can continue with the build instructions as found at http://harmony.apache.org/quickhelp_contributors.html

NOTE :

export ANT_OPTS='-Xms256m -Xmx512m'

DevConfiguration_Ubuntu7-10 (last edited 2009-09-20 21:55:28 by localhost)