Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I compile floodlight, I get the following error: #834

Open
zhangdongdongdong opened this issue Oct 30, 2019 · 2 comments
Open

when I compile floodlight, I get the following error: #834

zhangdongdongdong opened this issue Oct 30, 2019 · 2 comments

Comments

@zhangdongdongdong
Copy link

I use the following steps to install floodlight:

sudo apt-get install default-jdk
java -version
sudo apt-get install build-essential ant maven python-dev eclipse
git clone git://github.com/floodlight/floodlight.git
cd floodlight
ant

But when I compile floodlight, I get the following error:

`Buildfile: /home/zddd/yanzhen/floodlight/build.xml
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.

init:
[mkdir] Created dir: /home/zddd/yanzhen/floodlight/target/bin
[mkdir] Created dir: /home/zddd/yanzhen/floodlight/target/bin-test
[mkdir] Created dir: /home/zddd/yanzhen/floodlight/target/lib
[mkdir] Created dir: /home/zddd/yanzhen/floodlight/target/test

compile:
[javac] Compiling 593 source files to /home/zddd/yanzhen/floodlight/target/bin
[javac] javac: invalid target release: 1.8
[javac] Usage: javac
[javac] use -help for a list of possible options

BUILD FAILED
/home/zddd/yanzhen/floodlight/build.xml:145: Compile failed; see the compiler error output for details.

Total time: 0 seconds`

What's wrong with that?

@Mitsuhaxy
Copy link

install jdk1.8

@wilton-tang
Copy link

wilton-tang commented Aug 19, 2020

install jdk1.8

please, there is only jdk1.8 effective? i get failed by openjdk1.8. thanks, best regards. my os is centos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants