getting it to compile with Eclipse Luna

I'm not sure if this is 100% right, but that's what I had to do to get it to compile with Java 8 and Eclipse Luna