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

[Bug] Can't build on jdk17 #3496

Closed
2 tasks done
hezhangjian opened this issue Mar 21, 2023 · 1 comment
Closed
2 tasks done

[Bug] Can't build on jdk17 #3496

hezhangjian opened this issue Mar 21, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@hezhangjian
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Mac

EventMesh version

master

What happened

Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/7.6/userguide/gradle_daemon.html
Process command line: /Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home/bin/java -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=CN -Duser.language=zh -Duser.variant -cp /Users/akka/.gradle/wrapper/dists/gradle-7.6-bin/9l9tetv7ltxvx3i8an4pb86ye/gradle-7.6/lib/gradle-launcher-7.6.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.6
Please read the following process output to find out more:

Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

How to reproduce

build with jdk17 will raise this error

Debug logs

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@hezhangjian hezhangjian added the bug Something isn't working label Mar 21, 2023
qqeasonchen pushed a commit that referenced this issue Mar 21, 2023
qqeasonchen added a commit that referenced this issue Mar 21, 2023
[ISSUE #3496] Fix build on jdk17
qqeasonchen added a commit that referenced this issue Mar 23, 2023
[ISSUE #3496] Support build of gradle 8
@hezhangjian
Copy link
Member Author

Fixed

@xwm1992 xwm1992 added this to the 1.9.0 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants