Skip to content
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

Native build error on windows and macOS suddenly #74

Open
GrapeBaBa opened this issue Dec 16, 2023 · 3 comments
Open

Native build error on windows and macOS suddenly #74

GrapeBaBa opened this issue Dec 16, 2023 · 3 comments

Comments

@GrapeBaBa
Copy link

I can't reopen the issue, removed the version still not works.

https://github.com/optimism-java/hildr/actions/runs/7231369944/workflow

@fniephaus
Copy link
Member

It seems you are building with Gradle and caching is enabled, which you may want to clear. I'm not sure Gradle actually runs on JDK 21 already. Could you try running it on JDK 17 and then set GRAALVM_HOME to a GraalVM for JDK 21? Here's an example how that can be done: add set-java-home: 'false' to ensure the action does not overwrite a previously set JAVA_HOME.

@GrapeBaBa
Copy link
Author

@fniephaus I can't get you, I use this template only adding cache https://github.com/graalvm/setup-graalvm?tab=readme-ov-file#quickstart-template.

@GrapeBaBa
Copy link
Author

@fniephaus I can't get you, I use this template only adding cache https://github.com/graalvm/setup-graalvm?tab=readme-ov-file#quickstart-template.

Also after I change ./gradlew nativeCompile to native-image, it works fine. It should be an issue about graalvm gradle plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants