0

I would like to use lamdaj in a Eclipse project and needs to make this import,

  import static ch.lamdaj.Lambda.*;

I downloaded and added the lambdaj-2.4-with-dependencies.jar inside a jar folder in the Eclipse as following,

enter image description here

and then, added the JAR in the Java build path as following, enter image description here

What else I will need to do to make the work ?

Community
  • 1
  • 1
Arefe
  • 1,029
  • 5
  • 16
  • 30

1 Answers1

1

The project set-up is correct. The compile error is caused by spelling error in the import statement.

Please change the import statement to import static ch.lambdaj.Lambda.*;

Michal
  • 2,353
  • 1
  • 15
  • 18