AlecR
AlecR

Reputation: 47

Adding JDK 8 to Eclipse on mac

I'm trying to experiment with lambda expressions in Java 8 but I need to update my jdk from 7 to 8. When I download the jdk and install from the .dmg I'm unable to find it in my files to change the build path. How do I get JDK 8 into my eclipse build path?

Upvotes: 1

Views: 6409

Answers (1)

Dean Leitersdorf
Dean Leitersdorf

Reputation: 1341

Right click project -> Build Path -> Configure build path -> add library -> jre system library -> alternate jre -> installed jres -> search -> select the one you want -> click ok -> in previous window (alternate jre), select the one u just picked.

Upvotes: 3

Related Questions