Setting-up Cooja in Linux Machine

Step by step guide to installing Cooja simulator


Cooja is a java-based wireless sensor network simulator distributed with Contiki.


Step 1. Install Java

Cooja works well only with Java 8 as Java has removed javax.xml.bind module from its higher version jdks. Install it in your linux system using command :

sudo apt-get update
sudo apt-get install openjdk-8-jdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=${PATH}:${JAVA_HOME}/bin

Step 2. Setup Cooja

git clone git:// contiki
git clone git:// contiki

Step 3. Run Cooja

From inside contiki/tools/coojadirectory, run command

Relevant Reads

Masters, NIT Surathka l Java Developer | Bachelors, IIIT Jabalpur

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store