Ask Your Question
0

OpenDaylight Ubuntu support

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

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

Comments

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 -0700 )edit

3 answers

Sort by ยป oldest newest most voted
2

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

runamuck gravatar image

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

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

edit flag offensive delete publish link more

Comments

Nice. This should be very helpful for others.

Vishal Thapar ( 2015-05-19 06:18:43 -0700 )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 -0700 )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 -0700 )edit

Thanks for the info !!

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

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

jayachandrakasi gravatar image

Sakshi,

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.

-viswanath

edit flag offensive delete publish link more

Comments

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 -0700 )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 -0700 )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 -0700 )edit
0

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

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:

https://ask.opendaylight.org/question/4286/lithium-install-on-ubuntu-1404-featureinstall-odl-ovsdb-northbound-error/

and

https://ask.opendaylight.org/question/4303/lithium-install-on-ubuntu-1404-service-openvswitch-switch/

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.

Brian

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

Question Tools

Follow
1 follower

Stats

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

Seen: 477 times

Last updated: Jul 10 '15