graal and jdk8

Venkatachalam, Vasanth Vasanth.Venkatachalam at
Wed Feb 13 09:27:56 PST 2013

Hi Thomas,

When I try  to build with jdk-8, I get the following error: 

Compiling Java sources for with javac...
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/home/tester/vasanth/graal/graal/graal/ error: CodeExecutableElement is not abstract and does not override abstract method isDefault() in ExecutableElement
public class CodeExecutableElement extends CodeElement<Element> implements WritableExecutableElement {
1 error

Here's the java version I am using:

tester at see-anna1:~/Downloads$ jdk1.8.0/bin/java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b74)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b15, mixed mode)
tester at see-anna1:~/Downloads$

-----Original Message-----
From: Thomas Wuerthinger [mailto:thomas.wuerthinger at] 
Sent: Wednesday, February 13, 2013 11:13 AM
To: Venkatachalam, Vasanth
Cc: graal-dev at
Subject: Re: graal and jdk8


We are not aware of any architectural problems that might prevent Graal from running on a JDK8 host VM. Could you please give more details on your setup and error message? We will resolve any incompatibilities with JDK8 asap.

Thanks, thomas

On Feb 13, 2013, at 9:03 AM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at> wrote:

> Hi,
> I noticed that I had to use a JDK7 VM to build Graal.
> I wasn't able to build it with JDK8. Is there a workaround for this, or does Graal require a JDK7 host VM?
> If Graal only supports JDK7, are there plans to make it compatible with JDK8?
> We're looking to leverage Graal for the Sumatra project (
> This work requires being able to compile JDK8 lambda constructs for the GPU.
> Vasanth

More information about the graal-dev mailing list