Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse doesn't recognize java 8 default method
Eclipse doesn't recognize java 8 default method [message #1388671] Thu, 26 June 2014 19:56 Go to next message
NHUY VAN is currently offline NHUY VANFriend
Messages: 2
Registered: June 2014
Junior Member
Hi guys, I desperately need help with this, I installed java 8 and set up the classpath variables and everything for jre8, but somehow I keep getting compile-time error about the "default" keyword on java default methods. I have no idea what is going on, I am an beginner, please help me guys Sad Sad Sad .

It shows the error on the "default" keyword.
index.php/fa/18375/0/

JRE I have installed
index.php/fa/18376/0/

the build path
index.php/fa/18377/0/
  • Attachment: default.png
    (Size: 144.56KB, Downloaded 614 times)
  • Attachment: jre.png
    (Size: 140.30KB, Downloaded 559 times)
  • Attachment: variables.png
    (Size: 148.98KB, Downloaded 581 times)
Re: Eclipse doesn't recognize java 8 default method [message #1389247 is a reply to message #1388671] Fri, 27 June 2014 14:39 Go to previous messageGo to next message
Nikolay Metchev is currently offline Nikolay MetchevFriend
Messages: 15
Registered: July 2009
Junior Member
You need to specify jdk compliance level. You do it either globally or at the project level.
Re: Eclipse doesn't recognize java 8 default method [message #1389534 is a reply to message #1389247] Sat, 28 June 2014 00:19 Go to previous messageGo to next message
NHUY VAN is currently offline NHUY VANFriend
Messages: 2
Registered: June 2014
Junior Member
I downloaded Eclipse Luna which has full support for Java 8, and it works beautifully, Eclipse Kepler just doesn't fully support Java 8 I think. But thank you.
Re: Eclipse doesn't recognize java 8 default method [message #1389543 is a reply to message #1389534] Sat, 28 June 2014 00:40 Go to previous message
Eclipse UserFriend
Kepler required you to install update that added the Java 8 support.

On 6/27/2014 8:19 PM, NHUY VAN wrote:
> I downloaded Eclipse Luna which has full support for Java 8, and it works beautifully, Eclipse Kepler just doesn't fully support Java 8 I think. But thank you.
Previous Topic:UI icon are too small for visually impaired users
Next Topic:How call Eclipse Quick Fix programmatically
Goto Forum:
  


Current Time: Sat Jul 27 06:07:02 GMT 2024

Powered by FUDForum. Page generated in 0.03663 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top