-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Error creating native binaries using Quarkus and GraalVM #7362
Comments
Sounds like issues with Graal more than anything else. Let's start by getting JavaCPP working maybe, could you try to build that one first? |
I tried a very simple example using javacpp but I could not get it working yet, will continue another day https://github.com/jesuino/quarkus-examples/tree/master/test-javacpp It fails with an exception that seems to be simple to solve:
Tried a few things, but never got it working. |
What happens with the unit tests of JavaCPP itself? |
Hello @saudet - just to let you know, I tried to run JavaCPP with quarkus, got stuck even before making it work only with Java (no native compilation) I will update to the latest quarkus and try later again, if you want to take a look here is -> https://github.com/jesuino/quarkus-examples/tree/master/test-javacpp - I will let you know if I make any progress. |
… files that GraalVM needs for AOT compilation (issue deeplearning4j/deeplearning4j#7362)
…es that GraalVM needs for AOT compilation (issue deeplearning4j/deeplearning4j#7362)
JavaCPP now works with GraalVM's native-image: |
Minor update here: dl4j can work with graalvm/quarkus. Nd4j properly works on there. In the release after next (which will be going out likely next week) we'll add full support + examples, but for now anyone who wants to use it, please flag us on the forums: https://community.konduit.ai/ and we can be of more help. |
Issue Description
A microservice using quarkus fails to create the native binary with the following error (and many others):
And also:
Version Information
Please indicate relevant versions, including, if relevant:
RHEL 7
Java version:
$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Graal: Version: Community Edition 1.0.0-rc13.
Contributing
You can reproduce the issue using the following project: https://github.com/jesuino/java-ml-projects/tree/master/integration/microservices/image-classifier-microservice
Steps:
The text was updated successfully, but these errors were encountered: