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


ODL-L2-Switch - Building the source code with java 7 has build erros

asked 2016-01-28 16:16:04 -0700

ashvanth48 gravatar image

I downloaded the source code for L2-switch from

git clone

When i did a mvn clean install it builds properly with java 8. But when I run through karaf to test the code it does not work since java 8 is not supported.

But When i do a mvn clean install with java 7 it throws build errors.

Could somebody please help me with this

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-09 05:40:43 -0700

rgoulding gravatar image

Master (Boron) will only build with Java8. Beryllium (stable/beryllium) is the last release in which you can compile with Java7.

edit flag offensive delete publish link more


Thank you. Could you please tell me how do I run the compiled code. I want to make some changes in the L2switch code and test if it works. When I run the karaf from the bin folder inside l2switch it says java null pointer error.

ashvanth48 ( 2016-02-09 09:57:07 -0700 )edit

I did start karaf from l2switch/distribution/karaf/target/assembly/bin folder and it worked fine with no errors.

saisujithreddy ( 2016-02-11 16:29:38 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-01-28 16:16:04 -0700

Seen: 93 times

Last updated: Feb 09 '16