-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Packaging Graal VM #472
Comments
Do you mean create an executable native image of a polyglot app which uses Java and Ruby? Or just package the whole distribution of GraalVM together with your application? If the first use-case, I don't have a Java + Ruby example to offer you right now, but you can take a look at the native-list-dir example on the website, where the section "ExtListDir class" talks about building a native image of a Java + JS app. If you mean the whole distribution, I have to check about that. |
Hi @shelajev Actually if I can bundle Java + Ruby together as a native image of a polyglot app, it is enogh for me. I'm thinking to migrate @ AsciidocFx to Graal to be able to use Asciidoctor's Ruby implementation. However, can I create a native image for a JavaFX application? If I can't I can need to use second option. |
Yes, that's possible. You just need to pass I don't know if native-image supports JavaFX though. |
I don't think building a native image of the JavaFX will succeed currently. There's some limitations to what programs can be compiled, and I think JavaFX does hit several of them. |
To be 100% honest a while ago I tried building a native image of AsciidocFX specifically and it didn't work. So I'm quite sure it won't work now as well. Currently, we're working on supporting compiling native images of more real world applications. |
Thanks @shelajev. I'll chase the changes about JavaFx. |
I'll close this issue as the original question was answered. To get updates about the JavaFX progress you can follow this issue #365. There is no update at this time, but we have moved a long way towards that direction. |
Hi,
How can I package Graal VM with an application which uses both Java and Ruby ?
Is there any tool like that?
The text was updated successfully, but these errors were encountered: