Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


OpenDaylight Ubuntu support

asked 2015-02-25 22:54:07 -0800

sakshi gravatar image

Hello All,

Is OpenDaylight tested with Ubuntu? I am facing lots of difficulties to make it work with Ubuntu. Please let me know if there is any such dependency.

edit retag flag offensive close merge delete


I'm not aware of any testing but I've been using it on Ubuntu for a long time now. More than flavor of linux it is the versions of dependencies. What versions [ODL, Java, Maven etc] are you using and what issues are you facing?

Vishal Thapar ( 2015-02-26 00:01:16 -0800 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2015-05-18 12:28:03 -0800

runamuck gravatar image

updated 2015-05-18 12:29:42 -0800

I figured out how to compile on Ubuntu 14.0.4. I created a WIKI page here.

edit flag offensive delete publish link more


Nice. This should be very helpful for others.

Vishal Thapar ( 2015-05-19 06:18:43 -0800 )edit

I am new to odl , what version of ODL is used in this wiki hydrogen/helium/lithium ?

joshua.jeyaraj ( 2015-07-14 21:41:24 -0800 )edit

It clones from repo, so default is master branch. After cloning you can set version to helium/lithium if you want `git checkout stable/lithium` Note that this will not work for Hydrogen.

Vishal Thapar ( 2015-07-15 00:27:41 -0800 )edit

Thanks for the info !!

joshua.jeyaraj ( 2015-07-17 04:19:36 -0800 )edit

answered 2015-05-04 04:26:35 -0800

jayachandrakasi gravatar image


I"m also facing lot of issues with ubuntu 14.04. Not able to compile Helium code base. gives strange errors by Maven, ERROR: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

But I've set declare -x JAVAHOME="/usr/lib/jvm/java-7-openjdk-amd64/" Some how maven is set JAVAHOME to different folder: mvn --version Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre

In the net also did not find much help on this.

If you were able to resolve this problem, can u pls post the answer.


edit flag offensive delete publish link more


What is version of Java you're using? I've seen some folks run into issues with older versions of Java. Mine is 1.7.0_67.

Vishal Thapar ( 2015-05-04 22:38:18 -0800 )edit

Vishal, Thanks for the reply. Here are the details: =============================== $ java -version java version "1.7.0_75" Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode) mvn --version Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:07:52+05:30) Maven home: /usr/share/maven3 Java version: 1.7.0_65, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_IN, platform encoding: UTF-8 OS name: "linux", version: "3.13.0-40-generic", arch: "amd64", family: "unix" $export | grep -i JAVA declare -x CLASSPATH=":/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/" declare -x JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64/" -viswanath

jayachandrakasi ( 2015-05-05 01:05:12 -0800 )edit

Sakshi... I'd done some google searches on that problem too. But one response regarding Maven but not with ODL pointed to the answer. So I set my JAVA_HOME to this: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 and that worked and let Maven do its job. Brian

bmullan ( 2015-07-10 08:58:52 -0800 )edit

answered 2015-07-10 08:54:34 -0800

bmullan gravatar image

Sakshi... Thanks very much for your web page. I followed it (installing on ubuntu 14.04 also) but encountered 2 problems with your web instructions that (before I saw this post of yours) I submitted 2 questions about:


Still don't know what to do about the 2nd but I followed Visha's guidance on the 1st.. just can't try it yet until the 2nd is resolved.


edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-25 22:54:07 -0800

Seen: 577 times

Last updated: Jul 10 '15