New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TruffleRuby with Graal does not work with Java 9 #556
Comments
thanks @chrisseaton, installing openjdk9 now, waiting for new instructions to continue with truffleruby |
Oh, and I forgot the other issue is that NFI recently became required, and Sulong is basically required, and we never got those running on Java 9 EA at all. |
Fix in #578. |
That's not a perfect solution I'm afraid. We recommend using GraalVM and won't support anything else at the moment (beyond attempting to be helpful). |
@chrisseaton maybe it should be documented why graalvm is prefered over standard JDKs |
The GraalVM is the way we package up everything and distribute it for end-users. If you want to use a standard JDK you need to build everything from scratch. https://github.com/graalvm/truffleruby/blob/master/doc/user/using-graalvm.md |
hmmm, so there isn't a make task or command to build everything? |
The https://github.com/graalvm/truffleruby/blob/master/doc/contributor/workflow.md https://github.com/graalvm/truffleruby/blob/master/doc/contributor/building-graal.md |
I'll keep this open while we fix some more issues with Java 9 - the first being that you can't compile with Java 9. |
I've further fixed things #584, so you can now compile and run with Java 9 with Graal enabled. |
@chrisseaton you mention this in the java 9 documentation:
Is this status quo for the foreseeable future ? or is the graal team looking to move to java 9 (as a lot of us were hoping) shortly ? |
GraalVM is sticking with a custom Java 8 build that includes JVMCI, for the foreseeable future. I'm not responsible for that and there are many projects which need to co-ordinate beyond TruffleRuby to upgrade - that's why it's not trivial to do. We can fix any issues that people encounter, but I can't see a way to provide a GraalVM Java 9 release at the moment - it's just not something that this team is responsible for. |
We have instructions for using TruffleRuby and Graal with an older early-access build of Java 9.
https://github.com/graalvm/truffleruby/blob/master/doc/user/using-java9ea.md
These worked in June, but unfortunately some more things changed in later early-access builds and we haven't yet updated these instructions. These need to be updated for the final release now.
The text was updated successfully, but these errors were encountered: