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
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: