Mismatch between installed java version and version shown in eclipse

I have installed java 8 on my Ubuntu 14.04 and eclipse 3.8. When I check java and javac versions It shows me 1.8.0_91. But in my eclipse I can only see runtime library JAVASE-1.7. I can see any JAVASE- 1.8 library. What is wrong with my configurations ??

Upvotes: 0

Views: 121

Answers (1)

Stephan Herrmann
Stephan Herrmann

Reputation: 8178

When Eclipse Indigo was released in 2011, Java 8 didn't yet exist. At least Luna (2014) is needed to work with Java 8. Currently (May 2016) Mars.2 is recommended.

Upvotes: 1

Related Questions