Giter VIP home page Giter VIP logo

Comments (12)

chrisseaton avatar chrisseaton commented on July 29, 2024 2

I've further fixed things #584, so you can now compile and run with Java 9 with Graal enabled.

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024 1

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.

from truffleruby.

brauliobo avatar brauliobo commented on July 29, 2024

thanks @chrisseaton, installing openjdk9 now, waiting for new instructions to continue with truffleruby

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

Fix in #578.

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

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).

from truffleruby.

brauliobo avatar brauliobo commented on July 29, 2024

@chrisseaton maybe it should be documented why graalvm is prefered over standard JDKs

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

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

from truffleruby.

brauliobo avatar brauliobo commented on July 29, 2024

hmmm, so there isn't a make task or command to build everything?

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

The mx tool builds TruffleRuby and its dependencies.

https://github.com/graalvm/truffleruby/blob/master/doc/contributor/workflow.md

https://github.com/graalvm/truffleruby/blob/master/doc/contributor/building-graal.md

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

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.

from truffleruby.

sandys avatar sandys commented on July 29, 2024

@chrisseaton you mention this in the java 9 documentation:

It is also possible to run on Java 9, but we do not support this and at the moment we only document it for interest.

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 ?

from truffleruby.

chrisseaton avatar chrisseaton commented on July 29, 2024

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.

from truffleruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.