Reputation: 47
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
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