Answer the question
In order to leave comments, you need to log in
"Error: java: invalid flag: --add-modules" error when starting Gradle project, how to fix?
Hello!
Trying to run a Gradle project on a MacBook in IDEA. I get the error " Error:java: invalid flag: --add-modules ".
Gradle installed. Java. On demand of the version all issues. But the project does not rise.
Please tell me how to fix this!
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
Removed this line "--add-modules ..." in IDEA settings.
Thanks for the help!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question