Eclipse and GraalVM: "The VM does not support the Graal API"

Juan Jose Fumero juan.fumero at
Wed Aug 6 17:15:43 UTC 2014

Hi everybody,
   I am working with my OpenCL branch and this version of graal [1].  

If I execute my programs from the command line:

$ ./ vm \
      -Xmx6g \
      -Xbootclasspath/p:graal.jar \
      -XX:-BootstrapGraal \
      -cp @com.edinburgh.parallel.functional \

Everything works, but  I execute the program in Eclipse, I get the
following error. The same error with UnitTest.

java.lang.UnsupportedOperationException: The VM does not support the
Graal API.
Currently used Java home directory
is /home/juanjo/phd/graaljdk8ocl/jdk1.8.0_11/product/jre.
Currently used VM configuration is: OpenJDK 64-Bit Graal VM

The method getBackend contains the following:

private static Backend getBackend() {
        Backend hostBackend =
        return hostBackend;

Any idea? 

Many thanks


PhD Student
University of Edinburgh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <>

More information about the graal-dev mailing list