Building on Ubuntu

ertzu edited this page Nov 30, 2011 · 8 revisions

Building OneSwarm on Ubuntu

  • Uncomment the partner sources in /etc/apt/sources.list and install sun's jdk:

  • sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

  • sudo update-java-alternatives -s java-6-sun

  • Get rid of openjdk: sudo apt-get remove openjdk-6-jre-headless

  • sudo apt-get install ant1.8

  • sudo apt-get install ant1.8-optional ant-contrib

  • git clone git://

  • From OneSwarm directory: ant -lib /usr/share/java

  • ant -lib /usr/share/java run


  • ant -lib /usr/share/java test