Prerequisites
Ubuntu 10.04 (Natty) or higher.
Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”
Download and build
$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git checkout stable
$ ant;
Running Floodlight
Assuming java is in your path, directly run the floodlight.jar file produced by ant.
$ java -jar target/floodlight.jar
Additionl stuff on how to set Java path
$sudo su
$vim .bashrc
Include following lines at the end of the file
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME
PATH=$PATH:$JAVA_HOME
export PATH
Then go to /etc/environment
add this line:
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
Then go to /etc/profile.d/java.sh (create it if necessary)
export JDK_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
Then in a terminal run:
sudo chmod +x /etc/profile.d/java.sh
source /etc/profile.d/java.sh
Check the path
echo $JAVA_HOME
Ubuntu 10.04 (Natty) or higher.
Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”
Download and build
$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git checkout stable
$ ant;
Running Floodlight
Assuming java is in your path, directly run the floodlight.jar file produced by ant.
$ java -jar target/floodlight.jar
Additionl stuff on how to set Java path
$sudo su
$vim .bashrc
Include following lines at the end of the file
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME
PATH=$PATH:$JAVA_HOME
export PATH
Then go to /etc/environment
add this line:
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
Then go to /etc/profile.d/java.sh (create it if necessary)
export JDK_HOME=/usr/lib/jvm/jdk1.7.0_25
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_25
Then in a terminal run:
sudo chmod +x /etc/profile.d/java.sh
source /etc/profile.d/java.sh
Check the path
echo $JAVA_HOME
Prerequisites
Linux
- Ubuntu 10.04 (Natty) or higher. (Has been run with Ubuntu 10.04 with Ant versions 1.8.1 or lower).
- Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”
Prerequisites
Linux
- Ubuntu 10.04 (Natty) or higher. (Has been run with Ubuntu 10.04 with Ant versions 1.8.1 or lower).
- Install JDK and Ant by running “sudo apt-get install build-essential default-jdk ant python-dev eclipse”