Please help, build command won't work
Rutakate8 opened this issue · 1 comments
Rutakate8 commented
When i start build this pops up, i tried installing java sdk 16-20 and manually installing Gradle, no bueno. Please help
FAILURE: Build failed with an exception.
- What went wrong:
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: C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.362.9-hotspot\bin\java.exe -Xms8g -Xmx8g -Dfile.encoding=windows-1251 -Duser.country=RU -Duser.language=ru -Duser.variant -cp C:\Users\vladu.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:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid initial heap size: -Xms8g
The specified size exceeds the maximum representable size.
Rutakate8 commented
Issue solved by deleting half of the first line in gradle properties