Does GraalVM JVM support java 11?

℡╲_俬逩灬. 提交于 2020-06-09 12:55:54

问题


How build GraalVM JVM for Java 11?

(I don't see any official distributives only java 8)

回答1:


Not currently.

From this GitHub issue, it seems that it will be ready around the end of February, 2019. However, Java 11 does include support for the Graal compiler, which can be enabled with the following flags:

-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler

Edit: According to that GitHub issue, it looks like Graal 19.3 will be released on November 19, 2019, which should include Java 11 support.




回答2:


Yes the new version of GraalVM 13.0.0 supports Java 11.

please go to the below link for more information

https://medium.com/graalvm/graalvm-19-3-0-dfdb6f4ec8ed




回答3:


I am using java12 and i just added these dependencies to my project and it works fine

    <dependency>
        <groupId>org.graalvm.sdk</groupId>
        <artifactId>graal-sdk</artifactId>
        <version>19.1.1</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.graalvm.js/js -->
    <dependency>
        <groupId>org.graalvm.js</groupId>
        <artifactId>js</artifactId>
        <version>19.1.1</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.graalvm.js/js-scriptengine -->
    <dependency>
        <groupId>org.graalvm.js</groupId>
        <artifactId>js-scriptengine</artifactId>
        <version>19.1.1</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.graalvm.compiler/compiler -->
    <dependency>
        <groupId>org.graalvm.compiler</groupId>
        <artifactId>compiler</artifactId>
        <version>19.1.1</version>
    </dependency>
</dependencies>


来源:https://stackoverflow.com/questions/53712580/does-graalvm-jvm-support-java-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!