-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use Oracle GraalVM as a JVM #431
Comments
Hi @dmikusa, I noticed all 5 tasks that would enable this ticket have been ticked and change has been merged, does this mean ticket can be closed or it means the work on it can begin? |
paketo-buildpacks/oracle#144 is for adding Oracle GraalVM to do native image builds. This story is to add Oracle GraalVM to use it as a JVM. This still needs work because there is a conflict between Oracle JDK and Oracle GraalVM. We need a way in the buildpack to pick between them. |
Understand, looking forward to this. We're users of Oracle Cloud so would like to take advantage of free GraalVM usage in prod however we're building our apps strictly with build packs via maven spring boot plugin so this is a major blocker for us even though we can take advantage of its characteristics for Scala and Kotlin. |
I hear you, sorry. This one is a little tricky as we don't have a way to expose it at the moment. I reached out to the other @paketo-buildpacks/java-maintainers to get their thoughts on some possible ways to implement this. I'll follow up when we've had a chance to discuss and we can go from there. |
Sure thing, no worries 🤞 ! If you need some user perspective, consider this would likely help GraalVM's adoption as using the spring boot maven plugin to build the docker images is probably the main way how people build spring boot production images so it can be quite an enabler towards it's adoption. |
Ok, so what we discussed is doing this. We have an env variable For Oracle CNB, that is obvious. It’ll grab Oracle GraalVM instead of Oracle free JDK. For Bellsoft CNB, it would do the same thing with their NIK distribution. For GraalVM CNB, it would as well, but that buildpack already uses GraalVM as the JDK so it would basically be an alias to JDK for that buildpack. This needs implemented in libjvm, so I'm going to move this issue over there. |
Describe the Enhancement
Presently, the choice to use Oracle GraalVM is only supported when building native images. It should be usable as a JVM too.
Possible Solution
TBD
Motivation
Folks want to use Oracle GraalVM as a JVM too because it's fast and great. We want to support this use case also.
The text was updated successfully, but these errors were encountered: