-
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
[GR-46219] Remove the GraalVM Updater #6855
Comments
Sounds like good news. So after completing this change, can you provide an apt/yum repository to provide GraalVM CE/Oracle GraalVM? I think this will be very helpful to users. |
I'm not sure the deprecation of |
I think maybe it is. |
You could be right, let us check anyway. :) |
(This is just info, in the event it may be useful to the GraalVM devs.) In the past I used the openjdk download; since perhaps 2 years (or https://github.com/graalvm/graalvm-ce-builds/releases For both linux and windows. Linux is my main dev platform though; I avoid all kind of automatic updaters in general, always doing the |
Yum packages are already available publically for community and we are looking into adding the new Oracle GraalVM too (now available only for customers and OCI users) |
* In TruffleRuby 23.1+, the GraalVM Updater (`gu`) is no longer available in GraalVM, instead JVM Standalones and Maven artifacts are provided to replace `gu`. * See oracle/graal#6855
* In TruffleRuby 23.1+, the GraalVM Updater (`gu`) is no longer available in GraalVM, instead JVM Standalones and Maven artifacts are provided to replace `gu`. * See oracle/graal#6855
GU was removed with the GraalVM for JDK 21 release. |
If gu was removed, how can I install native-image via |
I found the |
Correct, the |
After updating to GraalVM 23.1, TOO many stuffs were broken. For instance 'gu' tool wasn't found. This probably means that JDK at isn't a GraalVM distribution. |
Apologies, @qidian99. We actually planned to include a script that prints a useful deprecation message, but due to a configuration issue, the script wasn't included in the release. The problem should go away if you upgrade the Maven plugin in your |
Even with 0.9.27 compilation is broken (on MacOS): [ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.27:compile (default-cli) on project demo: 'gu' tool was not found. This probably means that JDK at is not a GraalVM distribution. -> [Help 1] |
Trying to work with the Fortune demo. I can build a hello-world with native-image, but this fails. How can I resolve? |
We are working on a new release of the Native Build Tools to resolve this issue. It seems the error is similar to what was reported in graalvm/native-build-tools#521. The problem here is that |
I followed native-hello-module example, which includes JAVA_HOME in the build process. It built and ran without issues. Could you specify what I'm supposed to be looking for to identify that my environment variables are correct? It seems like they're correct for other graalvm examples. I'm not an expert in the Java build process, so I'm not sure what is and isn't correct. I just know that example isn't working when others are. |
No problem, @BlueCloudDev. What
|
I'm running Oracle Linux 7.9 I had not set JAVA_HOME, so it was likely using the installation of java that came with the image which is Java 18 After setting JAVA_HOME, to the place where I extracted graalvm: /home/opc/nosql/graalvm-jdk-21.0.1+12.1 I get a different error: I have another example with less dependencies working, so I'm not sure its necessary to get this one working, unless this build issue is indicative of a larger problem. |
Could you please file a ticket for the guide(s) that you can get working so that we can take a look? It's a bit hard to guess what's going wrong without knowing what you are running on what machine and with what GraalVM. |
19.31 [INFO] ------------------------------------------------------------------------ I get this error with maven-plugin 0.9.28 as well. I was trying to build the image through a multi-stage docker builder, so that it goes well with CI/CD. I keep getting gu not found, and later I got to know that it was deprecated. What do I do? |
GraalVM Updater is removed from version 21 onwards (see oracle/graal#6855)
TL;DR
We plan to remove the GraalVM Updater and provide GraalVM language plugins and other GraalVM extensions in new ways.
Goals
Installed applications and runtimes are supposed to stay immutable. GraalVM Updater modified the installation, making it hard to work with systems and package managers requiring immutability. We, therefore, will remove GraalVM Updater and find replacements for its use cases with the GraalVM for the JDK 21 release.
For polyglot embedding, all languages should be usable as Maven dependency.
Language launcher users should be guided to use standalone distributions instead of using the launchers installed by gu.
All non-language components and their migration:
jipher
(not available in GraalVM CE)
llvm-toolchain
native-image-llvm-backend
visualvm
Non-Goals
gu
The text was updated successfully, but these errors were encountered: