siggijons / graph-untangler-plugin

Gradle plugin to help untangle your dependencies.
Apache License 2.0
43 stars 1 forks source link

`Unrecognized VM option 'MaxPermSize=512m'` on JDK 17+ #5

Closed SimonMarquis closed 1 year ago

SimonMarquis commented 1 year ago

Could we remove the -XX:MaxPermSize=512m option from gradle.properties? This argument is no longer supported on JDK 17+ and triggers this kind of error:

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/8.0.2/userguide/gradle_daemon.html
Process command line: ...
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.

-----------------------
Check the JVM arguments defined for the gradle process in:
 - gradle.properties in project root directory
 - gradle.properties in GRADLE_USER_HOME directory